Commit Graph

14339 Commits

Author SHA1 Message Date
Mick Semb Wever 1311766ad1
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:32:10 +02:00
Mick Semb Wever ef3dc6491e
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:31:04 +02:00
Mick Semb Wever 9abed87ba4
Autogenerate toplevel .snyk file from owasp suppressions
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-20319
2025-03-30 09:27:39 +02:00
Blake Eggleston 31235c4314 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  convert legacy zero ballots to 4.1 zero value on deserialization
2025-03-28 14:12:32 -07:00
Blake Eggleston 2a5749f203 convert legacy zero ballots to 4.1 zero value on deserialization
Patch by Blake Eggleston, reviewed by Alex Petrov and Ariel Weisberg for CASSANDRA-20493
2025-03-28 14:10:18 -07:00
Brandon Williams 91d78afc2b Add CASSANDRA-15452 to CHANGES 2025-03-21 09:53:13 -05:00
Caleb Rackliffe 1d47fab638 Serialization can lose complex deletions in a mutation with multiple collections in a row
patch by Caleb Rackliffe; reviewed by Berenguer Blasi and Abe Ratnofsky for CASSANDRA-20449
2025-03-19 12:21:47 -05:00
Stefan Miklosovic 8a98305aee
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-03-19 12:31:35 +01:00
Stefan Miklosovic 8c4e21eeca
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-03-19 12:26:29 +01:00
Stefan Miklosovic a16333387c
Update zstd-jni to 1.5.7-2
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20453
2025-03-19 12:24:33 +01:00
Tiago Alves c925228a4d
Improve error messages when initializing auth classes
patch by Tiago Alves; reviewed by Stefan Miklosovic, Maxwell Guo for CASSANDRA-20368
2025-03-17 18:37:50 +01:00
Stefan Miklosovic 9e04c7a789
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-03-17 09:14:16 +01:00
Stefan Miklosovic dff453350a
Optionally skip exception logging on invalid legacy protocol magic exception
patch by Stefan Miklosovic; reviewed by David Capwell, Brad Schoening for CASSANDRA-19483
2025-03-17 09:12:21 +01:00
Caleb Rackliffe 740d6d0805 Prioritize legacy 2i over SAI for columns with multiple indexes
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20334
2025-03-13 12:15:25 -05:00
Brandon Williams 14f2b67493 Merge branch 'cassandra-4.1' into cassandra-5.0 2025-03-11 15:15:08 -05:00
Brandon Williams 9b8ecb1883 Merge branch 'cassandra-4.0' into cassandra-4.1 2025-03-11 15:14:46 -05:00
Brandon Williams 763994ba43 Update changes for 20408/20412 2025-03-11 15:14:15 -05:00
Ariel Weisberg ef13e9f9bf Ensure only offline tools can build IntervalTrees without first/last key fields
patch by Ariel Weisberg; reviewed by Caleb Rackliffe for CASSANDRA-20407
2025-03-07 17:36:41 -05:00
Caleb Rackliffe aee3c7531b Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Support null column value tombstones in FQL batch statements
2025-03-06 11:16:57 -06:00
Caleb Rackliffe 985e121404 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Support null column value tombstones in FQL batch statements
2025-03-06 11:09:01 -06:00
Caleb Rackliffe f375a3914f Support null column value tombstones in FQL batch statements
patch by Caleb Rackliffe; reviewed by Abe Ratnofsky for CASSANDRA-20397
2025-03-06 10:56:49 -06:00
Stefan Miklosovic 4f382d93f5
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-03-06 14:27:06 +01:00
Stefan Miklosovic 16bca9d343
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-03-06 14:23:11 +01:00
Stefan Miklosovic ef354d0d5e
Update Zstd library to 1.5.7-1
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-20367
2025-03-06 14:19:01 +01:00
Ariel Weisberg 20562d10a0 Improve IntervalTree build throughput
patch by Ariel Weisberg; reviewed by Marcus Eriksson for CASSANDRA-19596
2025-03-04 17:10:43 -05:00
Caleb Rackliffe 5483165938 Avoid limit on RFP fetch in the case of an unresolved static row
patch by Caleb Rackliffe; reviewed by David Capwell and Zhao Yang for CASSANDRA-20323
2025-02-26 17:41:15 -06:00
Stefan Miklosovic 378c93de90
Include materialized views to the output of DESCRIBE TABLE statements
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20365
2025-02-25 09:39:44 +01:00
mck f59a90b895
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix SimpleClient ability to release acquired capacity
2025-02-22 16:35:22 +01:00
Sam Tunnicliffe 291cbcccf6
Fix SimpleClient ability to release acquired capacity
patch by Sam Tunnicliffe; reviewed by Dmitry Konstantinov, Mick Semb Wever for CASSANDRA-20202
2025-02-22 16:33:05 +01:00
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
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
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
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 b6baa8bde3 Ninja fix ticket number in changes 2025-02-06 06:05:44 -06: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
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