Commit Graph

29867 Commits

Author SHA1 Message Date
Daniel Lenski 027689ae48
Fix unparseable YAML in default cassandra.yaml when uncommented for downstream tooling
The presence of an extra space the `:` in `key: value` pairs
makes the default `conf/cassandra.yaml` file included in
this repository unparseable and non-functional for some downstream tooling.

patch by Daniel Lenski; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-20359
2025-02-22 08:05:23 +01:00
Mick Semb Wever ba16a082f3
Adjust 5.0 and trunk Jenkinsfile's splits configuration
More splits for dtest-upgrades and all variants of the (unit) "test" type.
Less splits for long-test, dtest-larges, and jvm-dtest-upgrade.
And some debug on xml test files produced in each split.

 patch by Mick Semb Wever; reviewed by Brandon Williams, Maxim Muzafarov, Dmitry Konstantinov for CASSANDRA-20311
2025-02-18 12:22:54 +01:00
Caleb Rackliffe bd99331bf2 Avoid fetching entire partitions on unresolved static rows in RFP when no static column predicates exist
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20243
2025-02-12 17:29:22 -06:00
Bereng 026f73eacb Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Long running repairs autofail prematurely
2025-02-12 11:14:49 +01:00
Bereng fc232f45f0 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Long running repairs autofail prematurely
2025-02-12 11:12:53 +01:00
Bereng 914046ae46 Long running repairs autofail prematurely
patch by Berenguer Blasi; reviewed by Bernardo Botella Corbi, Michael Semb Wever for CASSANDRA-20312
2025-02-12 11:09:14 +01:00
Caleb Rackliffe f28a16740a Avoid indexing empty values for non-literals and types that do not allow them
patch by Caleb Rackliffe; reviewed by David Capwell and Andres de la Peña for CASSANDRA-20313

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Andres de la Peña <a.penya.garcia@gmail.com>
2025-02-11 14:49:53 -06:00
Stefan Miklosovic 881a1f023f
Fix incorrect results of min / max in-built functions on clustering columns in descending order
Not unwrapping returnType has consequences of not
returning the correct results when using aggregate in-built functions
(max / min) on clustering columns having descending order.

The safest solution, is to unwrap returnType "at source"
and work with unwrapped type only since then.

patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20295
2025-02-07 23:18:40 +01:00
Dmitry Konstantinov 11480a8b08 Wait for completion of async dumpMemtable in CommitLogTestCQL
Patch by Dmitry Konstantinov; reviewed by brandonwilliams and
smiklosovic for CASSANDRA-20298
2025-02-07 15:36:48 -06:00
Stefan Miklosovic b00a43df96
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-07 12:45:28 +01:00
Stefan Miklosovic 6e48c4d724
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-07 12:45:20 +01:00
Stefan Miklosovic 8ca0af32f3
Merge branch 'cassandra-3.11' into cassandra-4.0 2025-02-07 12:45:03 +01:00
Stefan Miklosovic ed3f1af723
Merge branch 'cassandra-3.0' into cassandra-3.11 2025-02-07 12:43:10 +01:00
Stefan Miklosovic f340514bbe
Increment version 2025-02-07 12:40:54 +01:00
Caleb Rackliffe 953ab6cf64 Avoid possible consistency violations for SAI intersection queries over repaired index matches and multiple non-indexed column matches
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20189
2025-02-06 13:32:39 -06:00
Brandon Williams 587ca4f53a Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-06 06:08:01 -06:00
Brandon Williams b59f61f744 Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-06 06:07:56 -06:00
Brandon Williams b6baa8bde3 Ninja fix ticket number in changes 2025-02-06 06:05:44 -06:00
Mick Semb Wever db8f8b1cf8
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Prepare debian changelog for 4.0.17
2025-02-06 11:32:45 +01:00
Mick Semb Wever 4918b646db
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Prepare debian changelog for 4.0.17
2025-02-06 11:32:28 +01:00
Mick Semb Wever 0354c915a9
Prepare debian changelog for 4.0.17 2025-02-06 10:45:07 +01:00
Sam Tunnicliffe e0c7155b46 Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-06 09:13:55 +00:00
Sam Tunnicliffe 8af89bc63c Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-06 09:13:32 +00:00
Sam Tunnicliffe 066c489d76 Tighten up permissions on system keyspaces
* Restrict which permissions can be granted on system keyspaces
* Ensure that GRANT... ON ALL KEYSPACES excludes system keyspaces
* Add system_traces to the always readable set

Patch by Sam Tunnicliffe and Francisco Guerrero; reviewed by Sam
Tunnicliffe and Francisco Guerrero for CASSANDRA-20090

Note: this is a re-application of the commit to cassandra-4.0 only,
to fix a bad merge the first time around.

Co-authored-by: Francisco Guerrero <frankgh@apache.org>
2025-02-06 09:13:03 +00:00
Stefan Miklosovic 6bc074d444
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-06 07:48:43 +01:00
Stefan Miklosovic d8752f66f5
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-06 07:48:27 +01:00
Stefan Miklosovic b5d69e0d0f
Merge branch 'cassandra-3.11' into cassandra-4.0 2025-02-06 07:48:16 +01:00
Stefan Miklosovic ecbafb5275
Prepare debian changelog for 3.11.19 2025-02-06 07:41:54 +01:00
Stefan Miklosovic a88a785524
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-06 07:34:28 +01:00
Stefan Miklosovic 931cc02065
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-06 07:34:19 +01:00
Stefan Miklosovic 4796b01bf1
Merge branch 'cassandra-3.11' into cassandra-4.0 2025-02-06 07:34:06 +01:00
Stefan Miklosovic 382ad04989
Merge branch 'cassandra-3.0' into cassandra-3.11 2025-02-06 07:33:52 +01:00
Stefan Miklosovic c559cf8962
Prepare debian changelog for 3.0.32 2025-02-06 07:20:58 +01:00
Francisco Guerrero 054d5d5710
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Minimize expensive reads during authz flow in 3.0/3.11
2025-02-05 15:22:25 -08:00
Francisco Guerrero 87850b9495
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Minimize expensive reads during authz flow in 3.0/3.11
2025-02-05 15:20:30 -08:00
Francisco Guerrero cb573b51b1
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Minimize expensive reads during authz flow in 3.0/3.11
2025-02-05 15:16:41 -08:00
Francisco Guerrero bf6fcf84ae
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Minimize expensive reads during authz flow in 3.0/3.11
2025-02-05 15:14:04 -08:00
Sam Tunnicliffe 0b6ae2673e
Minimize expensive reads during authz flow in 3.0/3.11
Patch by Sam Tunnicliffe; reviewed by Francisco Guerrero for CASSANDRA-20293
2025-02-05 14:25:19 -08:00
Jon Meredith f97c945afb Skip check for DirectIO when initializing tools.
Patch by Jon Meredith; reviewed by Stefan Miklosovic for CASSANDRA-20289
2025-02-05 13:48:16 -07:00
Stefan Miklosovic 36e46df4b1
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-04 10:55:16 +01:00
Stefan Miklosovic b044009f0b
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-04 10:51:21 +01:00
Francisco Guerrero 4f9e474bb1
Fix autocompletion for role names/user names
patch by Francisco Guerrero; reviewed by Stefan Miklosovic, Bernardo Botella for CASSANDRA-20175
2025-02-04 10:44:12 +01:00
Stefan Miklosovic 4a844820a2
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-02-04 10:04:55 +01:00
Stefan Miklosovic 9f5fc9d892
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-02-04 09:59:23 +01:00
Stefan Miklosovic 8e28dd0c17
Merge branch 'cassandra-3.11' into cassandra-4.0 2025-02-04 09:54:09 +01:00
Stefan Miklosovic 82e2c7d991
Merge branch 'cassandra-3.0' into cassandra-3.11 2025-02-04 09:50:02 +01:00
Stefan Miklosovic 7c147ef80e
Increment version 2025-02-04 09:46:26 +01:00
Caleb Rackliffe a118a704cb Avoid under-skipping during intersections when an iterator has mixed STATIC and WIDE keys
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20258
2025-02-03 16:02:43 -06:00
Josh McKenzie a9f2c7f4ba Merge branch 'cassandra-4.1' into cassandra-5.0
# Conflicts:
#	CHANGES.txt
2025-02-03 11:00:11 -05:00
Dmitry Konstantinov 68b7425332 WaitQueue.Signal.awaitUninterruptibly may block forever if invoking thread is interrupted
Patch by Dmitry Konstantinov; reviewed by Benedict Elliott Smith and Josh McKenzie for CASSANDRA-20084
2025-02-03 10:58:56 -05:00