https://github.com/apache/cassandra

sort by:
Revision Author Date Message Commit Date
6a640b0 Change logging to TRACE when failing to get peer certificates Patch by Mohammad Aburadeh; reviewed by brandonwilliams and jonmeredith for CASSANDRA-19508 04 April 2024, 15:58:19 UTC
f0aa674 Merge branch 'cassandra-3.11' into cassandra-4.0 03 April 2024, 21:49:35 UTC
338e4ed Docs: deprecate the usage of apt-key and adopt distribution name Patch by Tibor Répási; reviewed by brandonwilliams for CASSANDRA-19110 03 April 2024, 21:48:06 UTC
c73683c Merge branch 'cassandra-3.11' into cassandra-4.0 27 March 2024, 16:50:38 UTC
e276173 Merge branch 'cassandra-3.0' into cassandra-3.11 27 March 2024, 16:49:32 UTC
46bf9bc Add properties for redirecting build-resolve to mirrors patch by Ariel Weisberg; reviewed by Brandon Williams for CASSANDRA-19496 27 March 2024, 16:48:57 UTC
5dd9213 Merge branch 'cassandra-3.11' into cassandra-4.0 22 March 2024, 20:43:20 UTC
de2a965 Merge branch 'cassandra-3.0' into cassandra-3.11 22 March 2024, 20:42:31 UTC
38eb339 Add support for providing nvdDatafeedUrl to OWASP patch by Ariel Weisberg; reviewed by Berenguer Blasi for CASSANDRA-19484 22 March 2024, 20:41:57 UTC
a2fbb17 Push LocalSessions info logs to debug Patch by arkn98; reviewed by bereng and brandonwilliams for CASSANDRA-18335 14 March 2024, 15:24:38 UTC
a124cfc Merge branch 'cassandra-3.11' into cassandra-4.0 29 February 2024, 10:38:39 UTC
099fdf2 Move ClientWarn.State#warnings to a thread-safe list patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Stefan Miklosovic for CASSANDRA-19427 29 February 2024, 10:33:03 UTC
dee7947 Bug in generate.sh removal of jobs 26 February 2024, 06:43:40 UTC
5430e69 Merge branch 'cassandra-3.11' into cassandra-4.0 23 February 2024, 13:49:06 UTC
af57331 Merge branch 'cassandra-3.0' into cassandra-3.11 23 February 2024, 13:48:02 UTC
98eea87 Fix SCM URL links patch by Jack Green; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19422 23 February 2024, 13:43:41 UTC
c2041ba Filter remote DC replicas out when constructing the initial replica plan for the local read repair patch by Runtian Liu; reviewed by Blake Eggleston and Stefan Miklosovic for CASSANDRA-19120 22 February 2024, 22:21:16 UTC
8c4a58f Remove redundant code in StorageProxy#sendToHintedReplicas patch by Ling Mao; reviewed by Stefan Miklosovic, Brandon Williams and Maxwell Guo for CASSANDRA-19412 22 February 2024, 08:54:08 UTC
98d0e18 Remove bashisms for mx4j tool in cassandra-env.sh /bin/sh (our shebang in bin/cassandra) does not recognize the `if` construct which is available in /bin/bash only hence if MX4J_ADDRESS or MX4J_PORT was not commented out, the script would fail to execute it. patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19416 21 February 2024, 07:37:23 UTC
505f5af Ensure that repair doesn't exceed repair_session_space by running limiting validation parallelism patch by Andrés de la Peña; reviewed by David Capwell for CASSANDRA-19336 Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com> Co-authored-by: David Capwell <dcapwell@apache.org> 08 February 2024, 11:09:21 UTC
9613af2 Merge branch 'cassandra-3.11' into cassandra-4.0 * cassandra-3.11: Backport CASSANDRA-16418 to 3.x 07 February 2024, 14:12:01 UTC
2170825 Merge branch 'cassandra-3.0' into cassandra-3.11 * cassandra-3.0: Backport CASSANDRA-16418 to 3.x 07 February 2024, 14:12:00 UTC
5be5782 Backport CASSANDRA-16418 to 3.x When a node is decommissioned, it triggers data transfer to other nodes. During this transfer process, receiving nodes temporarily hold token ranges in a pending state. However, the current cleanup process doesn't account for these pending ranges when calculating token ownership, leading to inadvertent cleanup of data already stored in SSTables. To address this issue, this patch introduces two changes. Firstly, it backports CASSANDRA-16418, introducing a preventive check in `StorageService#forceKeyspaceCleanup`. This check disallows the initiation of cleanup when a node contains any pending ranges for the requested keyspace. Secondly, it reintroduces a similar condition to test for the existence of pending ranges in `CompactionManager#performCleanup`. This ensures the safety of this API as well. Patch by Szymon Miezal; reviewed by Brandon Williams, Jacek Lewandowski for CASSANDRA-18824 Co-authored-by: Szymon Miezal <szymon.miezal@datastax.com> Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com> 07 February 2024, 14:11:59 UTC
1e450db Merge branch 'cassandra-3.11' into cassandra-4.0 02 February 2024, 13:24:13 UTC
653337e Merge branch 'cassandra-3.0' into cassandra-3.11 02 February 2024, 13:23:02 UTC
0bc95bb Set log-cli-level to DEBUG in circle config Patch by brandonwilliams; reviewed by edimitrova for CASSANDRA-19350 02 February 2024, 13:21:53 UTC
7407956 Merge branch 'cassandra-3.11' into cassandra-4.0 31 January 2024, 16:15:49 UTC
aa561f2 Switch memtable_allocation_type from offheap_objects to heap_buffers in test/conf/cassandra.yaml patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-19326 31 January 2024, 16:11:35 UTC
21988ed Merge branch 'cassandra-3.11' into cassandra-4.0 29 January 2024, 23:04:48 UTC
604776b Merge branch 'cassandra-3.0' into cassandra-3.11 29 January 2024, 23:01:19 UTC
22e12ad Fix Compact Storage section in NEWS.txt patch by Ekaterina Dimitrova; reviewed by Paulo Motta for CASSANDRA-19291 29 January 2024, 22:58:20 UTC
2a7c640 increment version to 4.0.13 23 January 2024, 17:40:10 UTC
af752fc Prepare debian changelog for 4.0.12 17 January 2024, 11:02:37 UTC
ee9e418 Skip version check if an endpoint is dead state in Gossiper#upgradeFromVersionSupplier patch by Runtian Liu; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19187 11 January 2024, 09:37:11 UTC
290a599 Fix flaky test org.apache.cassandra.tools.BulkLoaderTest.testBulkLoader_WithArgs1 patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-19205 10 January 2024, 18:12:00 UTC
475c003 [CASSANDRA-18999] Gossiper::hasMajorVersion3Nodes returns true when a cluster is upgrading patch version without Cassandra 3 nodes. This commit fixes Gossiper::hasMajorVersion3Nodes so that it does not return true when all hosts have a known version, no hosts are on a version earlier than 4.0, and there is a 4.x minor version or patch version upgrade in progress. Additionally, this commit improves the clarity of Gossiper::hasMajorVersion3Nodes's name to indicate that it will return true when the cluster has 3.x nodes or if the cluster state is unknown, matching the description in the in-line comment. patch by Isaac Reath; reviewed by Paulo Motta and Stefan Miklosovic for CASSANDRA-18999 Closes #2967 10 January 2024, 16:14:49 UTC
d5cea13 Revert unnecessary read lock acquisition when reading ring version in TokenMetadata introduced in CASSANDRA-16286 patch by Caleb Rackliffe; reviewed by Francisco Guerrero for CASSANDRA-19107 09 January 2024, 18:23:13 UTC
891f111 Merge branch 'cassandra-3.11' into cassandra-4.0 * cassandra-3.11: Updated the OWASP plugin to 9.0.5 and refactored dependency checks 20 December 2023, 11:59:53 UTC
09c4675 Merge branch 'cassandra-3.0' into cassandra-3.11 * cassandra-3.0: Updated the OWASP plugin to 9.0.5 and refactored dependency checks 20 December 2023, 11:59:52 UTC
4c3b96e Updated the OWASP plugin to 9.0.5 and refactored dependency checks Configured OWASP database to use caching and NVD key. Properties can be configured in ~/.ant/build.properties and define both the key and the storage location Patch by Jacek Lewandowski; reviewed by Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-19146 20 December 2023, 11:59:51 UTC
8e5fc74 Merge branch 'cassandra-3.11' into cassandra-4.0 06 December 2023, 12:32:32 UTC
2e3d7e7 Merge branch 'cassandra-3.0' into cassandra-3.11 06 December 2023, 12:32:19 UTC
a1421ec Suppress CVE-2023-6378 Patch by brandonwilliams, reviewed by smiklosovic for CASSANDRA-19142 06 December 2023, 12:31:27 UTC
e1b0b44 Fix repeated tests on CircleCI and long-testsome/burn-testsome targets Patch by Jacek Lewandowski; reviewed by Berenguer Blasi for CASSANDRA-19086 01 December 2023, 18:40:44 UTC
50273d9 Support max SSTable size in sorted CQLSSTableWriter patch by Yifan Cai; reviewed by Alex Petrov, Francisco Guerrero, Maxwell Guo for CASSANDRA-18941 30 November 2023, 09:39:00 UTC
9affcf1 Fix nodetool repair_admin summarize-pending command to not throw exception Fixed a bug causing the `OpenDataException` being thrown when executing the `repair_admin summarize-pending` command. This patch addresses the problem by including a missing composite in `PendingStats.toComposite`, ensuring proper data conversion. patch by Szymon Miezal; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19014 29 November 2023, 17:32:53 UTC
0f2af6a Fix cassandra-stress in simplenative mode with prepared statements patch by Dmitry Bychkov; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18744 29 November 2023, 16:45:15 UTC
8dc32c5 Merge branch 'cassandra-3.11' into cassandra-4.0 29 November 2023, 11:12:22 UTC
6d7cd61 Merge branch 'cassandra-3.0' into cassandra-3.11 29 November 2023, 11:11:29 UTC
c1b1205 Do not set RPC_READY to false on transports shutdown in order to not fail counter updates for deployments with coordinator and storage nodes with transports turned off This is the follow-up commit of CASSANDRA-18935 where we set RPC_READY to false when transports were shut down in runtime. The problem is that the current logic in StorageProxy.findSuitableEndpoint method, used for the selection of a leader for counter mutations, is filtering out all endpoints which do not have RPC_READY set to true. Hence, if there is a deployment of a coordinator node (not joining a ring) and storage nodes which have transports turned off (e.g. for security reasons), then a coordinator node will select no endpoint as a counter mutation leader which renders counter mutations impossible. This change just reverts the original fix which was setting RPC_READY to false when transports were shut down in runtime (e.g. by nodetool disablebinary). For trunk (to be 5.1 at time of writing this), there is already TCM in place and the correct fix yet to be implemented is to decouple from checking RCP_READY state and base it e.g. on JOINED state from TCM perspective. Please follow CASSANDRA-19103 where this will be addressed. patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18935 29 November 2023, 11:09:59 UTC
dece96f Fix filtering system ks sstables for relocation on startup Patch by Jacek Lewandowski; reviewed by Benjamin Lerer for CASSANDRA-18963 28 November 2023, 13:20:26 UTC
55fecfb Fix BulkLoaderTest.testBulkLoader_WithArgs2 patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Andres de la Pena for CASSANDRA-19000 20 November 2023, 20:56:50 UTC
7fdb88d Merge branch 'cassandra-3.11' into cassandra-4.0 20 November 2023, 09:29:09 UTC
13d4477 Merge branch 'cassandra-3.0' into cassandra-3.11 20 November 2023, 09:28:23 UTC
8c69f85 ninja fix CASSANDRA-19002: Set gcgs in HintsMaker to Integer.MAX_VALUE HintsMaker was creating hint files which ttl'ed after 10 days which started to fail the tests. By setting it explicitly to Integer.MAX_VALUE, newly generated hint files will expire in cca 68 years. Branches 3.0 to trunk introduce the fix to HintsMaker. Branches 5.0 and trunk contain regenerated hint files as well. 20 November 2023, 09:26:59 UTC
3ba6de7 Test failure: org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-18948 20 November 2023, 06:34:57 UTC
a912085 Merge branch 'cassandra-3.11' into cassandra-4.0 13 November 2023, 20:16:00 UTC
46996c2 Merge branch 'cassandra-3.0' into cassandra-3.11 13 November 2023, 20:14:59 UTC
d41afac Set cqlshlib.serverversion to UNKNOWN if not found Patch by brandonwilliams; reviewed by mck and paulo for CASSANDRA-19020 13 November 2023, 20:12:21 UTC
fe1be80 Remove completed coordinator sessions patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Marcus Eriksson for CASSANDRA-18903 13 November 2023, 14:17:47 UTC
26a7d57 Make StartupConnectivityChecker only run a connectivity check if there are no nodes which are running a version prior to Cassandra 4 patch by Isaac Reath; reviwed by Paulo Motta, Stefan Miklosovic for CASSANDRA-18968 10 November 2023, 10:23:23 UTC
ac8a868 Merge branch 'cassandra-3.11' into cassandra-4.0 08 November 2023, 13:17:42 UTC
997ad8e Merge branch 'cassandra-3.0' into cassandra-3.11 08 November 2023, 13:14:58 UTC
359700d Create / update tests to ensure commit logs and hints for all versions in MessagingService are ingestible by 5.0 Patches for 3.0, 3.11, 4.0 and 4.1 are just adding HintsMaker class to generate hint files. Patches for 5.0 and trunk are adding tests for commit log upgrading and hints which were generated by HintsMaker. Patches for 5.0 and trunk are also adding version 1 in HintsDescriptor back as it was removed in CASSANDRA-18314 by mistake. patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-19002 08 November 2023, 13:07:26 UTC
86e0759 Retrieve keyspaces metadata and schema version concistently in DescribeStatement The fix makes the DescribeStatement to wait for the in-progress schema transformations to finish before returning the first page. This way, the metadata and schema version encoded in the result set metadata are guaranteed to be consistent. Patch by Jacek Lewandowski; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-18921 31 October 2023, 10:15:43 UTC
9697be1 Fix dtests returning ordering columns that have not been selected patch by Mike Adamson; reviewed by adelapena, brandonwilliams and Jeremiah Jordan for CASSANDRA-18892 30 October 2023, 13:14:09 UTC
2fa7c12 Merge branch 'cassandra-3.11' into cassandra-4.0 26 October 2023, 10:59:42 UTC
349ec3e Merge branch 'cassandra-3.0' into cassandra-3.11 26 October 2023, 10:58:22 UTC
0a91114 Merge branch 'cassandra-3.11' into cassandra-4.0 26 October 2023, 10:56:47 UTC
cec0e1b Merge branch 'cassandra-3.0' into cassandra-3.11 26 October 2023, 10:55:46 UTC
5bf1d2f Suppress CVE-2023-44487 Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18943 26 October 2023, 10:54:19 UTC
d6fcca9 Merge branch 'cassandra-3.11' into cassandra-4.0 24 October 2023, 14:20:31 UTC
3987160 Merge branch 'cassandra-3.0' into cassandra-3.11 24 October 2023, 14:14:49 UTC
b51ee83 Fix nodetool enable/disablebinary to correctly set rpc readiness in gossip patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18935 24 October 2023, 14:12:37 UTC
85285fa Merge branch 'cassandra-3.11' into cassandra-4.0 18 October 2023, 10:54:15 UTC
6212b0a Merge branch 'cassandra-3.0' into cassandra-3.11 18 October 2023, 10:52:19 UTC
f27c6c8 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> 18 October 2023, 10:49:58 UTC
2bab3f2 Gossip NPE due to shutdown event corrupting empty statuses patch by David Capwell; reviewed by Brandon Williams for CASSANDRA-18913 10 October 2023, 21:05:15 UTC
26c374d 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. 10 October 2023, 08:46:47 UTC
b57c136 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 10 October 2023, 07:51:11 UTC
016d91a Fix closing iterator in SecondaryIndexBuilder Patch by Jacek Lewandowski; reviewed by Andres de la Peña, Piotr Kolaczkowski for CASSANDRA-18361 05 October 2023, 13:33:28 UTC
9ccec3d Test failure: junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest Patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova for CASSANDRA-18707 05 October 2023, 07:22:18 UTC
8486d67 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 04 October 2023, 16:45:50 UTC
4eeaf6a Update hdrhistogram to 2.1.12 patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Tobias Lindaaker for CASSANDRA-18893 03 October 2023, 14:39:22 UTC
cb1f139 Improve performance of compactions when table does not have an index patch by Cameron Zemek; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-18773 02 October 2023, 11:16:39 UTC
b039f72 Merge branch 'cassandra-3.11' into cassandra-4.0 27 September 2023, 18:54:09 UTC
058621a Merge branch 'cassandra-3.0' into cassandra-3.11 27 September 2023, 18:51:35 UTC
dc72341 Upgrade snappy-java to 1.1.10.4 patch by Maxim Muzafarov; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18878 27 September 2023, 18:49:09 UTC
3658ba5 JMH improvements - faster build and async profiler - Don't create uber jar for microbenchmarks - Add async profiler to jmh tests - Benchmark classes names validation - Add jmh.args property to make it possible passing extra args to JMH - Add missing test/anttasks to idea configuration Patch by Jacek Lewandowski; reviewed by Branimir Lambov, Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-18871 25 September 2023, 10:39:36 UTC
c6385ac Merge branch 'cassandra-3.11' into cassandra-4.0 21 September 2023, 13:02:01 UTC
87c2af8 Fix delayed SSTable release with unsafe_aggressive_sstable_expiration patch by Ethan Brown; reviewed by Branimir Lambov and Mick Semb Wever for CASSANDRA-18756 21 September 2023, 12:53:27 UTC
31aede3 Enable 3rd party JDK installations for Debian package java11-runtime and java8-runtime for Cassandra 4.x branches and java17-runtime with java11-runtime for Cassandra 5.x branches enable users to use arbitrary JDK installation if it provides such runtime by installing it from 3rd-party repositories. By specifying only OpenJDK-based packages in Depends in debian/control file, it was not possible to use other JDKs but that one. patch by Jackson Fleming; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18844 19 September 2023, 18:26:22 UTC
edde699 Merge branch 'cassandra-3.11' into cassandra-4.0 15 September 2023, 17:23:59 UTC
edf22ed Revert 18543 but retain properties Patch by brandonwilliams; reviewed by dcapwell for CASSANDRA-18854 15 September 2023, 17:22:10 UTC
b2093ef Select automatic native port when starting the server in CQLTester Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18829 12 September 2023, 11:11:44 UTC
1f79c84 Merge branch 'cassandra-3.11' into cassandra-4.0 05 September 2023, 14:51:37 UTC
caad2f2 Merge branch 'cassandra-3.0' into cassandra-3.11 05 September 2023, 14:50:00 UTC
65ee0d0 Ninja fix for CASSANDRA-18745 05 September 2023, 14:47:23 UTC
8e34d13 Merge branch 'cassandra-3.11' into cassandra-4.0 05 September 2023, 13:40:01 UTC
50dae28 Merge branch 'cassandra-3.0' into cassandra-3.11 05 September 2023, 13:37:48 UTC
back to top