Commit Graph

31846 Commits

Author SHA1 Message Date
Dmitry Konstantinov 9394991853 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Avoid allocation by getFunctions in SelectStatement.authorize
2026-05-06 13:14:15 +01:00
Dmitry Konstantinov bfc4b0bb36 Avoid allocation by getFunctions in SelectStatement.authorize
Memorize the result of getFunctions in SelectStatement constructor

patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21347
2026-05-06 13:00:51 +01:00
Dmitry Konstantinov 3742994000 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Add no-build-accord Ant option to be able to skip Accord module rebuild
2026-05-06 12:46:01 +01:00
Dmitry Konstantinov e64e119c8d Add no-build-accord Ant option to be able to skip Accord module rebuild
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21350
2026-05-06 12:42:26 +01:00
Stefan Miklosovic fe9f6c1630
Merge branch 'cassandra-6.0' into trunk 2026-05-05 10:45:14 +02:00
Stefan Miklosovic 3df9dc242c
Merge branch 'cassandra-5.0' into cassandra-6.0 2026-05-05 10:39:00 +02:00
JwahoonKim 1c718ab40f
Fix failing select on system_views.settings for non-string keys
patch by JwahoonKim; reviewed by Jyothsna Konisa, Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-21348
2026-05-05 10:34:33 +02:00
Dmitry Konstantinov aa61536928 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Avoid unit conversion in DatabaseDescriptor.getMaxValueSize() for every deserializing Cell
2026-04-30 23:40:48 +01:00
Dmitry Konstantinov 3e75652232 Avoid unit conversion in DatabaseDescriptor.getMaxValueSize() for every deserializing Cell
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21295
2026-04-30 23:32:02 +01:00
Scott Carey cbbd401244
Allow nodetool garbagecollect to take a user defined list of SSTables
patch by Scott Carey; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-16767
2026-04-30 13:53:45 +02:00
omniCoder77 eabd2a27f5
Add a guardrail for misprepared statements
patch by Rishabh Saraswat; reviewed by Stefan Miklosovic, Brad Schoening for CASSANDRA-21139
2026-04-30 13:31:03 +02:00
David Capwell cd75b9c6a1 Merge branch 'cassandra-6.0' into trunk 2026-04-29 11:41:25 -07:00
Alan Wang 8fd2443afc Fix single token batch atomicity with Accord/non-Accord batches by using the batch log
patch by Alan Wang; reviewed by Ariel Weisberg, David Capwell for CASSANDRA-20588
2026-04-29 11:37:10 -07:00
Caleb Rackliffe 7bd041d292 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Ensure SAI sends range tombstones to the coordinator for queries on static columns
2026-04-27 13:13:59 -05:00
Caleb Rackliffe 98f0a34f07 Merge branch 'cassandra-5.0' into cassandra-6.0
* cassandra-5.0:
  Ensure SAI sends range tombstones to the coordinator for queries on static columns
2026-04-27 13:06:48 -05:00
Caleb Rackliffe 8093c3c9ce Ensure SAI sends range tombstones to the coordinator for queries on static columns
patch by Caleb Rackliffe; reviewed by Andres de la Peña and David Capwell for CASSANDRA-21332
2026-04-27 13:01:00 -05:00
Dmitry Konstantinov 0cdde30252 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Avoid CompactionOptions parsing for every read by WithoutPurgeableTombstones
2026-04-26 22:15:17 +01:00
Dmitry Konstantinov ae418d2a1c Avoid CompactionOptions parsing for every read by WithoutPurgeableTombstones
patch by Dmitry Konstantinov; reviewed by Francisco Guerrero for CASSANDRA-21294
2026-04-26 21:59:56 +01:00
Stefan Miklosovic 42afa1bcbd
Merge branch 'cassandra-6.0' into trunk 2026-04-24 11:52:14 +02:00
Matt Byrd 456590d555
Ensure schema created before 2.1 without tableId in folder name can be loaded in SnapshotLoader
Best effort attempt to get tableId from CFS, fallback to null which
still allows snapshot to be loaded

End result is that nodetool clearsnapshot and listsnapshot function for such
snapshots on restart

In addition to 5.0 patch we move starting SnapshotManager to after TCM is initiliazed.
The consequence of such a move is that cleanup of ephemeral snapshots happens after startup checks pass.

patch by Matt Byrd; reviewed by Stefan Miklosovic, Brandon Williams and Francisco Guerrero for CASSANDRA-21246
2026-04-24 11:49:15 +02:00
Dmitry Konstantinov 1908b906f7 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Adjust QueriesTableTest to pass if SEP Threads renaming is disabled
2026-04-23 14:44:31 +01:00
Dmitry Konstantinov 37a60594f1 Adjust QueriesTableTest to pass if SEP Threads renaming is disabled
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic, Caleb Rackliffe for CASSANDRA-21318
2026-04-23 14:32:44 +01:00
Stefan Miklosovic ccb2785b09
Merge branch 'cassandra-6.0' into trunk 2026-04-23 13:47:09 +02:00
Stefan Miklosovic b91b9c23ea
Merge branch 'cassandra-5.0' into cassandra-6.0 2026-04-23 13:44:54 +02:00
Stefan Miklosovic 2837bd7455
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-04-23 13:43:28 +02:00
Stefan Miklosovic 38245bb1e2
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-04-23 13:41:51 +02:00
Stefan Miklosovic 04febb75f1
Fix flaky CompactionTaskTest.testFullyExpiredSSTablesAreNotReleasedPrematurely
This fix was taken from e397aa06b1 (diff-3dbddb89a91055a1394ad89dcca2cd4506f01e40b7d73cb38fb0b0413fb0611a)

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-21329
2026-04-23 13:38:29 +02:00
Caleb Rackliffe fb4178f448 Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0:
  Differentiate between legitimate cases where the first entry is the same as the last entry and empty bounds in SSTableCursorWriter#addIndexBlock()
2026-04-21 11:21:55 -05:00
Caleb Rackliffe 10ca003dd2 Differentiate between legitimate cases where the first entry is the same as the last entry and empty bounds in SSTableCursorWriter#addIndexBlock()
patch by Caleb Rackliffe; reviewed by Nitsan Wakart and Branimir Lambov for CASSANDRA-21255
2026-04-21 11:09:07 -05:00
Stefan Miklosovic f107986552
Merge branch 'cassandra-6.0' into trunk 2026-04-21 14:42:26 +02:00
Stefan Miklosovic bdeed77d17
Introduce minimum_threshold for data resurrection startup check
patch by Stefan Miklosovic; reviewed by Shailaja Koppu, Paulo Motta, Isaac Reath for CASSANDRA-21293
2026-04-21 14:39:57 +02:00
Stefan Miklosovic 82c6f8aa44
Merge branch 'cassandra-6.0' into trunk 2026-04-21 12:51:13 +02:00
Stefan Miklosovic e193523a06
Update 6.0 and 7.0 branches to reflect their versions across the project.
In 6.0, only rename test/data/serialization/5.1 to 6.0
In 7.0, same plus update edges in UpgradeTestBase

patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-21319
2026-04-21 12:46:11 +02:00
Sam Tunnicliffe 0c6380fd73 Merge branch 'cassandra-6.0' into trunk 2026-04-20 16:27:26 +01:00
Sam Tunnicliffe 53f188293d Apply changes to gossip state for the local node synchronously, remote peers asynchronously
Patch by Sam Tunnicliffe; reviewed by Alex Petrov for CASSANDRA-21239

Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2026-04-20 16:27:17 +01:00
Stefan Miklosovic c5d01299b0
Include cassandra-6.0 in build/run-tests.sh and .circleci/config.yml
This is the continuation of CASSANDRA-21319 to make branching of cassandra-6.0 done.
The change in .build/run-ci will start to route jobs to cassandra-6.0 pipeline in pre-ci.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-21319
2026-04-20 17:22:37 +02:00
Stefan Miklosovic e509d3458b
Merge branch 'cassandra-6.0' into trunk 2026-04-20 16:57:21 +02:00
Stefan Miklosovic 3f1593064c
Include cassandra-6.0 in build/run-tests.sh and .circleci/config.yml
This is the continuation of CASSANDRA-21319 to make branching of cassandra-6.0 done.
The change in .build/run-ci will start to route jobs to cassandra-6.0 pipeline in pre-ci.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-21319
2026-04-20 16:56:14 +02:00
mck 176b9b17a4
increment to version 7.0
CASSANDRA-21319
2026-04-19 19:33:39 +02:00
mck daadd25fb2
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Paxos v2 cassandra.yaml option
2026-04-18 14:14:53 +02:00
mck 9db2e7ac82
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Paxos v2 cassandra.yaml option
2026-04-18 14:13:21 +02:00
mck 965dd70b23
Paxos v2 cassandra.yaml option
patch by Mick Semb Wever; reviewed by Jon Haddad for CASSANDRA-21316
2026-04-18 14:12:39 +02:00
Dmitry Konstantinov 32162cf544 Change default for cassandra.set_sep_thread_name to false to reduce CPU usage
Add an extra optimization if it is enabled: invoke Thread.setName only if a phase changed

patch by Dmitry Konstantinov; reviewed by Francisco Guerrero, Jyothsna Konisa for CASSANDRA-21089
2026-04-17 13:11:47 +01:00
David Capwell 7b3514d443 Merge branch 'cassandra-5.0' into trunk 2026-04-17 04:57:53 -07:00
David Capwell 39977ce066 Merge branch 'cassandra-4.1' into cassandra-5.0 2026-04-17 04:55:26 -07:00
David Capwell 304386a2d2 Merge branch 'cassandra-4.0' into cassandra-4.1 2026-04-17 04:54:08 -07:00
David Capwell de20468edd generate-eclipse-files missing simulator/harry and missing src class path
patch by David Capwell; reviewed by Aleksey Yeschenko for CASSANDRA-21312
2026-04-17 04:51:54 -07:00
Stefan Miklosovic 001accf8d2
Merge branch 'cassandra-5.0' into trunk 2026-04-17 11:09:37 +02:00
Stefan Miklosovic edf6034113
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-04-17 10:50:25 +02:00
Stefan Miklosovic 5e26f2527d
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-04-17 10:40:04 +02:00