Commit Graph

31544 Commits

Author SHA1 Message Date
Mick Semb Wever 1cd1ea2798
Prepare debian changelog for 5.0.6 2025-10-14 22:36:34 +02:00
Mick Semb Wever 45fa31beb4
Prepare debian changelog for 4.0.19 2025-10-14 21:35:24 +02:00
Marcus Eriksson 0afa31cd5c Merge branch 'cassandra-5.0' into trunk 2025-10-14 13:21:30 +02:00
Marcus Eriksson e721705152 Avoid re-initializing underlying iterator in LazilyInitializedUnfilteredRowIterator after closing
Patch by marcuse; reviewed by Aleksey Yeschenko and Branimir Lambov for CASSANDRA-20972
2025-10-14 13:19:51 +02:00
Caleb Rackliffe 11278547e1 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Flush SAI segment builder when current SSTable writer is switched
2025-10-13 15:45:20 -05:00
Caleb Rackliffe 98e7cd5d99 Flush SAI segment builder when current SSTable writer is switched
patch by Pranav Shenoy; reviewed by Caleb Rackliffe and Zhao Yang for CASSANDRA-20752
2025-10-13 15:17:27 -05:00
Mick Semb Wever c501c338e6
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add a github action that runs .build/docker/check-code.sh
2025-10-13 12:35:36 +02:00
Mick Semb Wever 8aad9d6c05
Add a github action that runs .build/docker/check-code.sh
Runs on each supported JDK

 patch by Mick Semb Wever; reviewed by Štefan Miklošovič for CASSANDRA-20931
2025-10-13 12:34:51 +02:00
Johnny Miller f103dd9bb0 docs: adding async python cassandra driver client to driver docs 2025-10-13 09:47:56 +02:00
Shalni Sundram accdaaebdd Add cqlsh autocompletion for the identity mapping feature
Patch by Shalni Sundram; reviewed by Francisco Guerrero, Bernardo Botella for CASSANDRA-20021
2025-10-09 16:50:32 -07:00
Caleb Rackliffe c12cc0b026 Add equals/hashCode to RangeTermTree$Term to make sure it plays nicely with IntervalNode construction
patch by Caleb Rackliffe; reviewed by Ariel Weisberg for CASSANDRA-20866
2025-10-08 13:58:10 -05:00
Aparna Naik 61959e215c Add DDL Guardrail enabling administrators to disallow creation/modification of keyspaces with durable_writes = false
patch by Aparna Naik; reviewed by Caleb Rackliffe and Stefan Miklosovic for CASSANDRA-20913
2025-10-02 15:50:31 -05:00
Jeremiah D Jordan 5d3af44dd5 Add a note to the top of NEWS.txt about upgrading and TCM
patch by Jeremiah Jordan; reviewed by Jon Haddad for CASSANDRA-20945
2025-10-01 14:04:42 -05:00
Stefan Miklosovic 76d0c25139
Do not emit warning on duplicit keys in snakeyaml 2.4 to preserve previous behavior
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20932
2025-09-30 10:27:28 +02:00
Dmitry Konstantinov e6a97025bd Optimize Counter, Meter and Histogram metrics using thread local counters
Codahale metrics do not provide the ability to create custom metric implementations, so we have to inherit from Codahale classes.
For better cache locality rate and counter values are extracted to a common thread-local arrays.
Threads death is tracked using 2 approaches: FastThreadLocal.onRemoval callback and phantom references to Thread objects.
Phantom references are used to track aliveness of metric users and reusing of metric IDs.

Patch by Dmitry Konstantinov; reviewed by Benedict Elliott Smith for CASSANDRA-20250
2025-09-28 16:47:50 +01:00
Stefan Miklosovic a94736ca50
Update snakeyaml to 2.4
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20928
2025-09-26 20:07:57 +02:00
Stefan Miklosovic e2d2e3b31b
ninja: remove accidentally committed file 2025-09-26 17:29:16 +02:00
Stefan Miklosovic f96353cfd1
Merge branch 'cassandra-5.0' into trunk 2025-09-26 16:15:08 +02:00
Stefan Miklosovic ed04f46b27
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-09-26 16:08:54 +02:00
Stefan Miklosovic 4757411e94
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-09-26 16:06:15 +02:00
Stefan Miklosovic 0026c0dc4c
Update OWASP dependency-check to 12.1.6, suppress unrelevant CVEs
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20924
2025-09-26 16:02:06 +02:00
Stefan Miklosovic 7b4fbde8e4
Update Netty to 4.1.125.Final
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20925
2025-09-26 13:13:58 +02:00
Stefan Miklosovic 608a1b59e2
Merge branch 'cassandra-5.0' into trunk 2025-09-24 10:25:23 +02:00
Stefan Miklosovic b23db408c5
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-09-24 10:22:16 +02:00
Stefan Miklosovic 4a201d4f6f
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-09-24 10:20:21 +02:00
Yifan Cai 90f231ad56
Fixed incorrect error message constant for keyspace name length validation
patch by Yifan Cai; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-20915
2025-09-24 10:13:04 +02:00
Stefan Miklosovic 09c7a3eff0
Merge branch 'cassandra-5.0' into trunk 2025-09-24 09:44:15 +02:00
Stefan Miklosovic 3888949bda
Throw RTE instead of FSError when RTE is thrown from FileUtis.write in TOCComponent
Also simplify the logic in TOCComponent.loadOrCreate.

patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-20917
2025-09-24 09:28:46 +02:00
Stefan Miklosovic e42599a094
Expose uncaught exceptions in system_views.uncaught_exceptions table
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20858
2025-09-23 13:52:00 +02:00
Mick Semb Wever 70bcaec54d
Add badges to README.asc
patch by Mick; reviewed by Patrick McFadin for CASSANDRA-20912
2025-09-19 22:08:27 +02:00
Stefan Miklosovic fdd9bc128a
Merge branch 'cassandra-5.0' into trunk 2025-09-19 14:27:47 +02:00
Stefan Miklosovic 79db776094
Merge branch 'cassandra-4.1' into cassandra-5.0 2025-09-19 14:27:37 +02:00
Stefan Miklosovic 02ef8f8a0d
Merge branch 'cassandra-4.0' into cassandra-4.1 2025-09-19 14:18:29 +02:00
Stefan Miklosovic d966547d01
update shaded cassandra-driver-core to 3.11.5
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20904
2025-09-19 14:12:00 +02:00
Stefan Miklosovic 71871bee70
Merge branch 'cassandra-5.0' into trunk 2025-09-19 13:32:34 +02:00
Raymond Huffman a52d2ce783
Update jackson-dataformat-yaml to 2.19.2 and snakeyaml to 2.1
This is backport of CASSANDRA-18875 to 5.0 where we upgrade 2.1 of snakeyaml and bump jackson-dataformat-yaml to 2.19.2.

The change in trunk (5.1) is about excluding Jackson dependencies from wiremock so 2.19.2 of Jackson is used everywhere in test as well,
otherwise there would be Jackson annotations of 2.13.4 used.

patch by Raymond Huffman; reviewed by Mick Semb Wever and Stefan Miklosovic for CASSANDRA-18875

Co-authored-by: Griffin Davis <gcd@ibm.com>
2025-09-19 13:29:05 +02:00
Stefan Miklosovic 818de8e11e
Merge branch 'cassandra-5.0' into trunk 2025-09-19 12:05:59 +02:00
Marko Tsymbaluk b26e33d506
Represent complex settings as JSON on system_views.settings table
The patch for 5.0 is preserving old behavior, it is possible to turn on JSON representation by a system property.
The patch for trunk is by default transforming collections to JSON string but there is the property (same as in 5.0) which has default to be set to true.

patch by Marko Tsymbaluk; reviewed by Paulo Motta, Stefan Miklosovic for CASSANDRA-20827

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2025-09-19 11:58:23 +02:00
Stefan Miklosovic d7c41b3d83
ninja: remove unused imports to pass the checkstyle 2025-09-19 11:28:11 +02:00
Benedict Elliott Smith 12000406c3 Follow-up to CASSANDRA-20906: Fix Simulator 2025-09-18 14:14:53 +01:00
Benedict Elliott Smith 0b2012826a Split AsyncChain and AsyncResult; normalise AsyncResult with C* Future
patch by Benedict; reviewed by Alex Petrov for CASSANDRA-20906
2025-09-18 12:31:13 +01:00
Benedict Elliott Smith c7de33c597 Strict Serializability Verifier may incorrectly handle blind writes when witnessed before the writing operation ACKs
patch by Benedict; reviewed by Alex Petrov for CASSANDRA-20905
2025-09-17 21:24:37 +01:00
jaydeepkumar1984 bf2c1c124e Improved observability in AutoRepair to report both expected vs. actual repair bytes and expected vs. actual keyspaces
patch by Jaydeepkumar Chovatia; reviewed by Chris Lohfink for CASSANDRA-20581
2025-09-16 20:38:39 -07:00
Ariel Weisberg d7a46b52ef Deterministic Simulator thread ids
Also: Don't ignore self reconcile test

patch by Ariel Weisberg; reviewed by David Capwell for CASSANDRA-20841
2025-09-15 16:44:00 +01:00
Maxwell Guo dddbe1ad87 Execution of CreateTriggerStatement should not rely on external state
patch by Maxwell Guo; reviewed by Sam Tunnicliffe for CASSANDRA-20287
2025-09-15 17:49:05 +08:00
Benedict Elliott Smith ded7a597b5 ninja: remove accord invariant that can break startup 2025-09-12 18:24:56 +01:00
Pranav Shenoy cf806cac1a Support LIKE expressions in filtering queries
patch by Pranav Shenoy; reviewed by Caleb Rackliffe and David Capwell for CASSANDRA-17198
2025-09-11 11:20:20 -05:00
Dmitry Konstantinov 06440e947a Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Prevent too long table names not fitting file names
2025-09-10 23:39:17 +01:00
Dmitry Konstantinov 7f92e1ac2c Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Prevent too long table names not fitting file names
2025-09-10 23:09:58 +01:00
Dmitry Konstantinov bff43df7db Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Prevent too long table names not fitting file names
2025-09-10 22:59:34 +01:00