Commit Graph

29363 Commits

Author SHA1 Message Date
Stefan Miklosovic a4fc03e799
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-18 12:57:06 +02:00
Stefan Miklosovic ede18e6c9f
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-18 12:55:49 +02:00
Stefan Miklosovic 85285fa0f9
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-10-18 12:54:15 +02:00
Stefan Miklosovic 6212b0aaa5
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-10-18 12:52:19 +02:00
maoling f27c6c8e6e
Implement the logic in bin/stop-server
patch by Ling Mao; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18838

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-10-18 12:49:58 +02:00
mck 802bd5fe13
ninja-fix – reusing git clone under build needs reset and permissions
ref: https://the-asf.slack.com/archives/CK23JSY2K/p1697465832946299

 patch by Mick Semb Wever; reviewed by Štefan Miklošovič, Maxim Muzafarov for CASSANDRA-18665
2023-10-17 12:14:21 +02:00
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 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
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
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 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 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 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 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
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 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 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 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 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 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
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 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 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 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 90e12e3fc9
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-10-02 13:57:57 +02:00
Stefan Miklosovic 4974a8237c
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-02 13:18:40 +02:00
Cameron Zemek cb1f1399b1
Improve performance of compactions when table does not have an index
patch by Cameron Zemek; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-18773
2023-10-02 13:16:39 +02:00
Stefan Miklosovic b9f614f7e5
Remove deprecated properties in CompressionParams
This patch removes deprecated chunk_length_kb and sstable_compression in favor of
chunk_length_in_kb and class parameters.

The only deprecated compression parameter left, crc_check_chance (which is configurable outside
of compression parameters as a standalone table parameter) is meant to be treated separately.

patch by Stefan Miklosovic; reviewed by Maxim Muzafarov and Brandon Williams for CASSANDRA-18742
2023-09-29 15:19:12 +02:00
Jacek Lewandowski 6de90bf75c Fix LongCompactionTest
Patch by Jacek Lewandowski; reviewed by Stefan Miklosovic for CASSANDRA-18884
2023-09-28 08:01:12 +02:00
David Capwell 164fa7949d Add support for repair coordinator to retry messages that timeout
patch by David Capwell; reviewed by Caleb Rackliffe, Marcus Eriksson for CASSANDRA-18816
2023-09-27 16:21:36 -07:00
Stefan Miklosovic 449343138d
Merge branch 'cassandra-4.1' into cassandra-5.0 2023-09-27 21:01:44 +02:00
Stefan Miklosovic 27fe757636
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-09-27 20:57:23 +02:00
Stefan Miklosovic b039f72e6b
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-09-27 20:54:09 +02:00
Stefan Miklosovic 058621a446
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-09-27 20:51:35 +02:00
Maxim Muzafarov dc7234134c
Upgrade snappy-java to 1.1.10.4
patch by Maxim Muzafarov; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18878
2023-09-27 20:49:09 +02:00
Maxim Muzafarov a580b79d16 Upgrade slf4j-api to 1.7.36
Patch by mmuzaf; reviewed by brandonwilliams and edimitrova for
CASSANDRA-18882
2023-09-27 13:30:08 -05:00