Commit Graph

29421 Commits

Author SHA1 Message Date
Mick Semb Wever 987d03c142
Fixes for in-tree scripts: offline mode, maybe-build for fqltool-test, jvm-dtest-upgrade
- jvm-dtest-upgrade script running in ci-cassandra.a.o (needs default bash)
 - add offline mode (to avoid `git fetch` before building dtest-jars on other branches),
 - avoid rebuilding in fqltool-test target, as is standard for test targets.
 - python detection and override
 - FileTest cleanup (tmp directory was left unreadable and undeletable)
 - reuse ~/.ccm (like normal)
 - remove support for python 3.6
 - remove docker volumes in image (they are added at run time)
 - remove superfluousjava version debug
 – extra mount for build/tmp as hack to prevent buggy hardlinks on overlay

 patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova, Josh McKenzie, Maxim Muzafarov for CASSANDRA-18665
2023-10-16 16:01:28 +02:00
Bereng a9a09c1e6b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Test failure: org.apache.cassandra.tools.nodetool.ForceCompactionTest.forceCompactMultipleRowsTombstoneTest-.jdk11
2023-10-16 12:25:47 +02:00
Bereng 25da086336 Test failure: org.apache.cassandra.tools.nodetool.ForceCompactionTest.forceCompactMultipleRowsTombstoneTest-.jdk11
patch by Berenguer Blasi; reviewed by Brandon Williams for CASSANDRA-18881
2023-10-16 12:23:00 +02:00
Mick Semb Wever 91f5562241
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja-fix remove all DSE references
2023-10-12 09:22:51 +02:00
Lorina Poland 45cf5edb37
ninja-fix remove all DSE references
patch by Lorina Poland; reviewed by Mick Semb Wever for CASSANDRA-18231
2023-10-12 09:20:33 +02:00
Stefan Miklosovic a0b4cee198
Merge branch 'cassandra-5.0' into trunk 2023-10-12 08:39:57 +02:00
Maxim Muzafarov 49f216f37b
Update documentation metrics page according to the library upgrade
patch by Maxim Muzafarov; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-18909
2023-10-12 08:38:02 +02:00
David Capwell b8b17dc5db Merge branch 'cassandra-5.0' into trunk 2023-10-10 14:20:20 -07:00
David Capwell 210ced3b7b Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-10 14:15:49 -07:00
David Capwell 1920571861 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-10 14:07:17 -07:00
David Capwell 2bab3f27ba Gossip NPE due to shutdown event corrupting empty statuses
patch by David Capwell; reviewed by Brandon Williams for CASSANDRA-18913
2023-10-10 14:05:15 -07:00
Andrés de la Peña 31729b8f92 Merge branch 'cassandra-5.0' into trunk 2023-10-10 15:03:06 +01:00
Andrés de la Peña 3b9881bfa6 Fix vector type to support DDM's mask_default function
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Maxwell Guo for CASSANDRA-18889
2023-10-10 15:01:11 +01:00
Alex Petrov 4b84c4332c Merge branch 'cassandra-5.0' into trunk 2023-10-10 10:52:11 +02:00
Alex Petrov 8b941a6bdc Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-10 10:50:08 +02:00
Alex Petrov e562d6a3a9 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-10 10:49:41 +02:00
Francisco Guerrero 26c374da4f Synchronize CQLSSTableWriter#build on the Schema.instance object
In this commit the `org.apache.cassandra.io.sstable.CQLSSTableWriter#build` method synchronizes on the
`Schema.instance` object (instead of the `CQLSSTableWriter.class`) to prevent concurrent schema operations
to fail when the offline tools also updates the schema.

For example, a table creation operation, which modifies the keyspace tables metadata, might end up
missing the update when a concurrent call to the `CQLSSTableWriter#build` method is accessing the
singleton Schema instance.

Patch by Francisco Guerrero, reviewed by Yifan Cai, Maxwell Guo, Alex Petrov for CASSANDRA-18317.
2023-10-10 10:46:47 +02:00
Stefan Miklosovic c40e0778b3
Merge branch 'cassandra-5.0' into trunk 2023-10-10 10:25:07 +02:00
Stefan Miklosovic 5a02e532d4
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-10 10:16:22 +02:00
Stefan Miklosovic ea6461b870
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-10 10:04:42 +02:00
Stefan Miklosovic b57c13603a
Remove byteman-related files from production sources
This patch also removes compress-lzf library (leftover from CASSANDRA-12229)
as well as it makes byte-buddy dependencies to be test scoped.

patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-18877
2023-10-10 09:51:11 +02:00
Stefan Miklosovic e63d3bfc4b
Merge branch 'cassandra-5.0' into trunk 2023-10-09 21:44:43 +02:00
Maxim Muzafarov 4549b07997
Remove unnecessary reporter-config3 dependency
patch by Maxim Muzafarov; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18907
2023-10-09 21:40:18 +02:00
Stefan Miklosovic 865d7c30e4
Merge branch 'cassandra-5.0' into trunk 2023-10-06 11:53:22 +02:00
Stefan Miklosovic e8c595102a
Exclude unnecessary dependencies introduced by caffeine update to 3.1.8
patch by Stefan Miklosovic; reviewed by Ekaterina Dimitrova, Maxim Muzafarov for CASSANDRA-18906
2023-10-06 11:50:13 +02:00
Jacek Lewandowski 91406a6c73 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix closing iterator in SecondaryIndexBuilder
2023-10-05 15:33:31 +02:00
Jacek Lewandowski fe92b0a36d Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix closing iterator in SecondaryIndexBuilder
2023-10-05 15:33:31 +02:00
Jacek Lewandowski 59790da813 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix closing iterator in SecondaryIndexBuilder
2023-10-05 15:33:30 +02:00
Jacek Lewandowski 016d91a7d7 Fix closing iterator in SecondaryIndexBuilder
Patch by Jacek Lewandowski; reviewed by Andres de la Peña, Piotr Kolaczkowski for CASSANDRA-18361
2023-10-05 15:33:28 +02:00
Bereng 2e600017ee Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Test failure: junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest
2023-10-05 09:27:17 +02:00
Bereng bd6e9a004c Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Test failure: junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest
2023-10-05 09:25:59 +02:00
Bereng b5bfd1e314 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Test failure: junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest
2023-10-05 09:24:35 +02:00
Bereng 9ccec3dc8c Test failure: junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest
Patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova for CASSANDRA-18707
2023-10-05 09:22:18 +02:00
Jacek Lewandowski b8f36f0cba Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix CQLConnectionTest and SimpleClient
2023-10-04 18:45:55 +02:00
Jacek Lewandowski 7e65d04e9c Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix CQLConnectionTest and SimpleClient
2023-10-04 18:45:54 +02:00
Jacek Lewandowski 29c3136763 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix CQLConnectionTest and SimpleClient
2023-10-04 18:45:52 +02:00
Jacek Lewandowski 8486d678b0 Fix CQLConnectionTest and SimpleClient
There are a couple of fixes in this patch. As explained on the ticket, some of the flaky failures are a race of two events that cause the termination of the connection. First is a legitimate close as a result of expected failures. In this case, the server sends the error message and closes the connection. The test expects to receive that message. However, the test was sending more messages that couldn't be received because the server already closed the connection, and they were bounced by the OS, causing immediate connection shutdown on the client side, even before it could receive the error message.

The fix is to stop sending the messages after sending the message, which is expected to cause a failure. Some other accompanying modifications include using Awaitility to wait for specific events and consider the configured maximum number of consecutive failures.

Also added some more logging to help investigate failures in the future.

Patch by Jacek Lewandowski; reviewed by Sam Tunnicliffe for CASSANDRA-16949
2023-10-04 18:45:50 +02:00
Andrés de la Peña 90e0ef27e4 Merge branch 'cassandra-5.0' into trunk 2023-10-04 17:33:15 +01:00
Andrés de la Peña 6befb178aa Remove support for empty values on the vector data type
patch by Andrés de la Peña; reviewed by David Capwell and Maxwell Guo for CASSANDRA-18876
2023-10-04 17:31:28 +01:00
Stefan Miklosovic a1de444331
Merge branch 'cassandra-5.0' into trunk 2023-10-04 13:53:57 +02:00
Maxim Muzafarov f51d9ecbe3
Upgrade Dropwizard Metrics to 4.2.19
patch by Maxim Muzafarov; reviewed by Ekaterina Dimitrova and Stefan Miklosovic for CASSANDRA-14667
2023-10-04 13:41:47 +02:00
Ekaterina Dimitrova 210a59b194 Merge branch 'cassandra-5.0' into trunk 2023-10-03 16:21:07 -04:00
Ekaterina Dimitrova eb30005251 Upgrade caffeine cache and fix CIDR permissions cache invalidation
patch by Ekaterina Dimitrova; reviewed by Jacek Lewandowski, Ben Manes, Yifan Cai, Shailaja Koppu for CASSANDRA-18805
2023-10-03 16:14:34 -04:00
David Capwell 16b43e4d4b Merge branch 'cassandra-5.0' into trunk 2023-10-03 09:48:59 -07:00
David Capwell d828cd0228 Test failure: org.apache.cassandra.repair.ConcurrentIrWithPreviewFuzzTest
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-18890
2023-10-03 09:48:12 -07:00
Ekaterina Dimitrova c60b2ca65f Merge branch 'cassandra-5.0' into trunk 2023-10-03 11:15:05 -04:00
Ekaterina Dimitrova b07034eeb7 Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-03 11:12:14 -04:00
Ekaterina Dimitrova 486acc68f1 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-03 10:50:41 -04:00
Ekaterina Dimitrova 4eeaf6a6ee Update hdrhistogram to 2.1.12
patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Tobias Lindaaker for CASSANDRA-18893
2023-10-03 10:39:22 -04:00
Stefan Miklosovic 8cc2b48192
Merge branch 'cassandra-5.0' into trunk 2023-10-02 14:00:01 +02:00