Commit Graph

31846 Commits

Author SHA1 Message Date
Marcus Eriksson a8be2e4bd9 ninja-fix add offlineclustermetadatadump tool to bin directory in deb/rpm packages 2026-03-16 08:52:12 +01:00
Stefan Miklosovic cb51969eb0
Merge branch 'cassandra-5.0' into trunk 2026-03-15 18:50:59 +01:00
Stefan Miklosovic c439be9390
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-15 18:38:43 +01:00
Stefan Miklosovic 4c7367d739
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-03-15 18:36:43 +01:00
Stefan Miklosovic 3ad4794aa0
Node does not send multiple inflight echos
patch by Cameron Zemek; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-18866
2026-03-15 18:31:14 +01:00
mck 076c6f1136
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix ConcurrentModificationException in compaction garbagecollect
2026-03-13 22:35:30 +01:00
Joaquin Casares 2b1c8395eb
Fix ConcurrentModificationException in compaction garbagecollect
patch by Joaquin Casares; reviewed by Mick Semb Wever for CASSANDRA-21065
2026-03-13 22:32:06 +01:00
Sunil Ramchandra Pawar 8d325d50ed Allow value/element indexing on frozen collections in SAI
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe, David Capwell, and Andres de la Peña for CASSANDRA-18492
2026-03-13 11:47:23 -05:00
Aleksey Yeshchenko b50152af22 Merge branch 'cassandra-5.0' into trunk 2026-03-13 15:08:19 +00:00
Aleksey Yeshchenko 40d52159f7 Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-13 14:58:07 +00:00
Aleksey Yeschenko 65ddddf6fb Fix ant generate-eclipse-files
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-21215
2026-03-13 14:53:26 +00:00
Abhijeet Dubey 88b373a631 Add tool to offline dump cluster metadata and the log
Patch by Abhijeet Dubey; reviewed by Sam Tunnicliffe and marcuse for CASSANDRA-21129
2026-03-13 15:21:19 +01:00
minal-kyada 9bedf98b6e Send client warnings when writing to a large partition
Patch by Minal Kyada; reviewed by David Capwell and marcuse for CASSANDRA-17258
2026-03-13 12:44:30 +01:00
Caleb Rackliffe 87d79f30a0 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Randomize Memtable type/allocation type and SSTable format in Simulator tests
2026-03-11 16:09:47 -05:00
Shruti Sekaran ddfba19f9e Randomize Memtable type/allocation type and SSTable format in Simulator tests
patch by Shruti Sekaran; reviewed by Caleb Rackliffe and Francisco Guerrero for CASSANDRA-21177
2026-03-11 16:05:10 -05:00
Brad Schoening cdb67f62ff CASSANDRA-20573 added JDBC to drivers documentation page
patch by Brad Schoening; reviewed by Bernardo Botella for CASSANDRA-20573
2026-03-11 14:06:24 -05:00
Stefan Miklosovic fa85a056b2
Merge branch 'cassandra-5.0' into trunk 2026-03-11 14:22:55 +01:00
Stefan Miklosovic b5b1c529f7
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-11 14:20:29 +01:00
Stefan Miklosovic 0f8fd6a3fb
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-03-11 14:19:27 +01:00
arvindksi274-ksolves ee635f5c45
Fix instructions in README.asc of pylib
patch by Arvind Kandpal; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-20181
2026-03-11 14:10:57 +01:00
mck 73cd1d6b68
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  ninja CHANGES.txt entry for CASSANDRA-21052
2026-03-10 20:22:56 +01:00
mck d242f8e58d
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  ninja CHANGES.txt entry for CASSANDRA-21052
2026-03-10 20:10:40 +01:00
mck 0ed41f934f
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  ninja CHANGES.txt entry for CASSANDRA-21052
2026-03-10 20:06:43 +01:00
MichaelMorris 9c640a06eb
ninja CHANGES.txt entry for CASSANDRA-21052 2026-03-10 20:04:33 +01:00
Stefan Miklosovic 5519df34cb
Merge branch 'cassandra-5.0' into trunk 2026-03-05 16:13:42 +01:00
Stefan Miklosovic e0ac46c5a7
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-03-05 16:10:01 +01:00
Stefan Miklosovic b41fb1f71a
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-03-05 16:05:39 +01:00
Stefan Miklosovic 547187a229
Obsolete expired SSTables before compaction starts
patch by Stefan Miklosovic; reviewed by Branimir Lambov for CASSANDRA-19776
2026-03-05 16:03:13 +01:00
Maxim Muzafarov c9fe399b06
Move -pp/--print-port from NodetoolCommand to per-command Mixin
Patch by Maxim Muzafarov; reviewed by Stefan Miklosovic for CASSANDRA-20790
2026-03-02 21:16:03 +01:00
Stefan Miklosovic ce983cb89c
Harden the possible range of values for max dictionary size and max total sample size for dictionary training
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21194
2026-03-02 15:57:22 +01:00
Stefan Miklosovic 43a022c4fc
Implement a guardrail ensuring that minimum training frequency parameter is provided in ZstdDictionaryCompressor
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21192
2026-03-02 15:52:46 +01:00
Stefan Miklosovic a2d78be028
Replace manual referencing with ColumnFamilyStore.selectAndReference when training a dictionary
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21188
2026-03-02 15:50:20 +01:00
samlightfoot 38f7789534 Fix flaky InProgressSequenceCoordinationTest by increasing request_timeout and ensuring background threads are joined before test cleanup
Patch by Sam Lightfoot; reviewed by Dmitry Konstantinov and Sam
Tunnicliffe for CASSANDRA-21189
2026-02-27 17:01:22 +00:00
Aparna Naik a7695a6220 Forbid nodes upgrading to a version which cannot read existing log entries
Patch by Aparna Naik; reviewed by Marcus Eriksson and Sam Tunnicliffe
for CASSANDRA-21174
2026-02-27 14:46:14 +00:00
Dmitry Konstantinov 5b819f94fd Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Dynamically skip sharding L0 when SAI Vector index present
2026-02-26 12:51:43 +00:00
Michael Marshall 5172a0df3b Dynamically skip sharding L0 when SAI Vector index present
This is a partial solution to IllegalStateException thrown by VectorPostings. It works by using a single shard at L0 when a vector index is present. As noted in the jira ticket, there are edge cases that may still produce errors, notably the case where there are multiple data directories.
The key trade offs here are related to the time complexity for search. Since graph search is log(n), and searching m graphs is m * log(n), we see better search performance by building bigger graphs which is essentially log(m * n). We could pre-shard, which comes at a cost of increased search time complexity.

patch by Michael Marshall,Dmitry Konstantinov; reviewed by Caleb Rackliffe,Dmitry Konstantinov,Michael Semb Wever for CASSANDRA-19661

Co-authored-by: Michael Marshall <mmarshall@apache.org>
Co-authored-by: Dmitry Konstantinov <netudima@gmail.com>
2026-02-26 12:45:05 +00:00
Stefan Miklosovic 9303ca04de
Introduce a check for minimum time to pass to train or import a compression dictionary from the last one
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21179
2026-02-26 09:43:40 +01:00
Stefan Miklosovic d41a4f7b70
Merge branch 'cassandra-5.0' into trunk 2026-02-25 09:16:50 +01:00
Stefan Miklosovic 53118ba9ef
Merge branch 'cassandra-4.1' into cassandra-5.0 2026-02-25 09:16:02 +01:00
Stefan Miklosovic f5855cebe8
Merge branch 'cassandra-4.0' into cassandra-4.1 2026-02-25 09:15:15 +01:00
Bernardo Botella Corbi 1461e754e8
Update maven-shade-plugin to version 3.6.1
patch by Bernardo Botella Corbi; reviewed by Shailaja Koppu, Stefan Miklosovic, Doug Rohrer for CASSANDRA-21176
2026-02-25 09:13:04 +01:00
Paulo Motta a9ee34b62d Add compaction strategy override via system properties
Introduce the ability to override compaction strategy for specific keyspaces
and tables at startup via two new system properties:
- cassandra.override_compaction.entities: comma-separated list of keyspaces
  and keyspace.table pairs (e.g. "ks1,ks2.tbl1,ks3.tbl2")
- cassandra.override_compaction.params: JSON compaction parameters to apply

Patch by Paulo Motta; Reviewed by Jaydeepkumar Chovatia for CASSANDRA-21169
2026-02-20 11:49:10 -05:00
Maxim Muzafarov b7eb323c5a
Fix nodetool sjk dropping all arguments after the first one
Patch by Maxim Muzafarov; reviewed by Dmitry Konstantinov for CASSANDRA-21009
2026-02-20 11:03:12 +01:00
Stefan Miklosovic 0be5ffa8c8
Introduce created_at column to system_distributed.compression_dictionaries
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-21178
2026-02-19 03:53:19 +01:00
Dmitry Konstantinov eee06be567 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Improve diagnostics for JUnit tests which crashed or timed out on Jenkins
2026-02-18 23:10:39 +00:00
Dmitry Konstantinov 8303257297 Improve diagnostics for JUnit tests which crashed or timed out on Jenkins
Add test container memory events printing to check if Linux OOM killer was active
Fix thread dump printing on junit test timeout
Process.pid() API is available since JDK9

patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-21172
2026-02-18 22:53:39 +00:00
Dmitry Konstantinov 52d3b23df2 junit fix: avoid creating of thousands of threads by MatcherResponse when many messages are handled using MockMessagingSpy
Too many threads can lead to OOM, so new Thread is replaced with an executor
spin wait is added to HintsServiceTest.testPageSeek to avoid flaky NPE (HintsStore is populated in an async way)

patch by Dmitry Konstantinov; reviewed by Brandon Williams for CASSANDRA-21166
2026-02-18 22:34:03 +00:00
Caleb Rackliffe 7532be5cbb Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Optionally force IndexStatusManager to use the optimized index status format
2026-02-17 14:15:33 -06:00
Caleb Rackliffe 32154eebcd Optionally force IndexStatusManager to use the optimized index status format
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-21132
2026-02-17 14:00:57 -06:00
Stefan Miklosovic 56c3d72fe8
Merge branch 'cassandra-5.0' into trunk 2026-02-17 11:46:44 +11:00