Commit Graph

27682 Commits

Author SHA1 Message Date
Sam Tunnicliffe f33267c8fa 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

Co-authored-by: Francisco Guerrero <frankgh@apache.org>
2025-01-17 09:02:35 +00:00
Kristijonas Zalys 7ffbd714b4 Set setIsShutdownUnsafeForTests(true) in dtests to fix shutdown race condition
Patch by Kristijonas Zalys, reviewed by brandonwilliams and mck for
CASSANDRA-18440
2025-01-16 13:52:51 -06:00
Brandon Williams 64b8d6b9ad Allow hint delivery during schema mismatch
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-20188
2025-01-14 06:06:23 -06:00
Stefan Miklosovic 1c4732cf57
Merge branch 'cassandra-3.11' into cassandra-4.0 2025-01-09 23:43:05 +01:00
Stefan Miklosovic b18a7064fd
Merge branch 'cassandra-3.0' into cassandra-3.11 2025-01-09 23:42:38 +01:00
Ke Han f41c2e29d2
Fix incorrect column identifier bytes problem when renaming a column
patch by Ke Han; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18956
2025-01-09 17:35:27 +01:00
Brandon Williams b074675c37 Add in-jvm dtest for durable writes
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19601
2025-01-08 13:40:02 -06:00
Sunil Ramchandra Pawar 4fc8bb29fc IndexOutOfBoundsException when accessing partition where the column was deleted
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe, David Capwell for CASSANDRA-20108
2025-01-07 17:38:20 -08:00
mck a7eea177d2
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Remove 2 metrics listed in 3.11 documentation that weren't added until 4.0
2025-01-02 16:55:16 +01:00
Andrew Hogg 51696d239a
Remove 2 metrics listed in 3.11 documentation that weren't added until 4.0
patch by Andrew Hogg; reviewed Lorina Poland for CASSANDRA-18689
2025-01-02 16:53:46 +01:00
Yifan Cai 659558c980 Enhance CQLSSTableWriter to notify client on sstable production
Patch by Yifan Cai; Reviewed by Francisco Guerrero for CASSANDRA-19800
2024-11-22 14:49:22 -08:00
Runtian Liu 426eebb513
A node should always return back the full information about itself for gossip regardless the asked heartbeat version
patch by Runtian Liu; reviewed by Brandon Williams, Michael Semb Wever for CASSANDRA-19983
2024-11-19 00:23:45 +01:00
Brandon Williams bdfb3fb9d6 increment version to 4.0.16 2024-11-18 09:01:15 -06:00
Bereng f3c29e08fa Flaky PstmtPersistenceTest take 2
patch by Berenguer Blasi; reviewed by Stefan Miklosovic for CASSANDRA-20055
2024-11-15 13:17:12 +01:00
Dmitry Konstantinov d0c984fa32
Change the resolution of AbstractCommitLogService#lastSyncedAt to nanos to be aligned with later comparisons
patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-20074
2024-11-15 11:37:52 +01:00
Brandon Williams b88fe80910 Prepare debian changelog for 4.0.15 2024-11-13 12:50:57 -06:00
Brandon Williams 39b42ccd2f Update RMI object marshalling restrictions
Patch by brandonwilliams; reviewed by paulo for CASSANDRA-20076
2024-11-13 12:39:36 -06:00
Mohammad Aburadeh 0b3c26ab05 Log client address when detecting unknown exception in client networking
Patch by Mohammad Aburadeh, reviewed by brandonwilliams and smiklosovic
for CASSANDRA-20072
2024-11-11 06:21:15 -06:00
Bereng 7ba691e3d3 Flaky PstmtPersistenceTest
patch by Berenguer Blasi; reviewed by Stefan Miklosovic for CASSANDRA-20055
2024-11-11 09:43:31 +01:00
Josh McKenzie 8ea70cd1f0
Backport of CASSANDRA-17812: Rate-limit new client connection auth setup to avoid overwhelming bcrypt
This backport differs from CASSANDRA-17812 in such a way that by default the number
of auth request threads is set to 0. That will route all requests to request executor as before this change.
The patch in 5.0 and later sets the default number of auth request threads to 4.

patch by Josh McKenzie; reviewed by Chris Lohfink for CASSANDRA-20057

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2024-11-06 22:23:16 +01:00
Stefan Miklosovic 6093c2d99b
Support UDTs and vectors as clustering keys in descending order
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20050
2024-11-06 14:28:48 +01:00
Stefan Miklosovic 181ddc0600
Fix CQL in snapshot's schema which did not contained UDTs used as reverse clustering columns
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20036
2024-11-06 09:41:45 +01:00
Bereng ff54fd5ffd CASSANDRA-19986 Prepared statements cache computation improvements
patch by Berenguer Blasi; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-19986
2024-11-04 09:56:32 +01:00
shunsaker b8c5436293
Add configurable batchlog endpoint strategies
Batchlog endpoint strategy was previously only random placements on other racks.  Options now are random_remote, prefer_local, dynamic_remote, and dynamic.

 patch by Shayne Hunsaker; reviewed by Mick Semb Wever, Brandon Williams for CASSANDRA-18120
2024-10-15 13:34:40 +02:00
Alexander Batyrshin 6a1d13ade2
Fix bash-completion for debian distro
Check nodetool/cqlsh for bash-completion with _have instead of type

 patch by Alexander Batyrshin; reviewed by Mick Semb Wever for CASSANDRA-19999
2024-10-15 10:24:42 +02:00
Dmitry Konstantinov d939e40dfb
Fix flakiness of TopPartitionsTest
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic, Berenguer Blasi for CASSANDRA-19991
2024-10-10 08:11:11 -06:00
Stefan Miklosovic 63cad45bfc
Ensure thread-safety for CommitLogArchiver in CommitLog
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-19960
2024-09-27 14:02:48 +02:00
Mick Semb Wever bf8870f763
increment version to 4.0.15 and 4.1.8 2024-09-26 22:55:52 +02:00
vgali7 a79f7f4b00
Fix text containing "/*" being interpreted as multiline comment in cqlsh
patch by Vineet Gali; reviewed by Brandon Williams, Brad Schoening for CASSANDRA-17667

Co-authored-by: Attila Homoki <biotep@yahoo.com>
Co-authored-by: Brad Schoening <bschoeni@gmail.com>
2024-09-24 13:21:24 +02:00
Sunil Ramchandra Pawar 06a05ccde5
Fix indexing of a frozen collection that is the clustering key and reversed
patch by Sunil Ramchandra Pawar; reviewed by David Capwell, Stefan Miklosovic for CASSANDRA-19889
2024-09-23 17:06:46 +02:00
Stefan Miklosovic 39b1c2df89
Emit error when altering a table with non-frozen UDTs with nested non-frozen collections the same way as done upon table creation
patch by Stefan Miklosovic; reviewed by Maxim Muzafarov for CASSANDRA-19925
2024-09-18 22:44:39 +02:00
Mick Semb Wever 7bf6734957
Prepare debian changelog for 4.0.14 2024-09-18 11:13:48 +02:00
Mick Semb Wever 2699bc8dae
ninja-fix build.xml version to 4.0.14 2024-09-18 10:29:51 +02:00
Bereng 366ee9da6c Add extra compaction junit
patch by Berenguer Blasi; reviewed by Branimir Lambov for CASSANDRA-19863
2024-09-18 08:41:42 +02:00
Caleb Rackliffe b4f1c6d250 Safer handling of out-of-range tokens
patch by Caleb Rackliffe; reviewed by Mick Semb Wever for CASSANDRA-13704

Co-authored-by: Sam Tunnicliffe <sam@beobal.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Mick Semb Wever <mck@apache.org>
Co-authored-by: Ariel Weisberg <aweisberg@apple.com>
2024-09-17 17:04:11 -05:00
Josh McKenzie 525245bdbd Add snapshot remote repo to build resolution and build.properties.default
Patch by Josh McKenzie; reviewed by Mick Semb Wever and Brandon Williams for CASSANDRA-19810
2024-09-16 15:49:14 -04:00
Benedict Elliott Smith 2842c01ce7 Fix BTree.FastBuilder.reset() and test
Patch by benedict; reviewed by blambov for CASSANDRA-19785
2024-09-16 12:24:32 -05:00
maxwellguo 9f18aab1dc
Fix millisecond and microsecond precision for commit log replay
patch by Maxwell Guo; reviewed by Brandon Williams, Stefan Miklosovic for CASSANDRA-19448
2024-09-13 15:42:20 +02:00
Dmitry Konstantinov c56ba3b317
Improve accuracy of memtable heap usage tracking
Fix estimateRowOverhead in Memtable: ByteBuffer in Partition key was not counted
Fix non-counted size of "columns" field in Columns.unsharedHeapSize
BTree.sizeOfStructureOnHeap wrongly reported a non-zero size for EMPTY_LEAF shared constant value
Fix MemtableSizeTest flakeness by not measuring of allocator and ColumnFamilyStore/Keyspace

Patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-17298
2024-09-09 12:00:11 +02:00
Stefan Miklosovic e08a7049ad
Merge branch 'cassandra-3.11' into cassandra-4.0 2024-09-04 15:36:16 +02:00
Stefan Miklosovic c738e0d455
Merge branch 'cassandra-3.0' into cassandra-3.11 2024-09-04 15:35:06 +02:00
Stefan Miklosovic faaffe867c
Upgrade OWASP dependency check to 10.0.4
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19895
2024-09-04 15:33:31 +02:00
Lukasz Antoniak c53d3ac8c6 Fix rendering UNSET collection types in query tracing
Patch by Lukasz Antoniak reviewed by Jacek Lewandowski for CASSANDRA-19880
2024-08-30 10:41:38 +02:00
Dmitry Konstantinov 6da9141d3c Fix latency reported by ideal consistency level monitoring
patch by Dmitry Konstantinov; reviewed by Ariel Weisberg for CASSANDRA-19651
2024-08-21 16:01:46 -04:00
Caleb Rackliffe 93415c91af Use default commitlog settings in test YAMLs
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-19830
2024-08-15 10:12:39 -05:00
Stefan Miklosovic b8e08840ee
Do not spam log with SSLExceptions
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-18839

Co-authored-by: James Hu <jhudson15869@gmail.com>
2024-08-05 11:55:50 +02:00
Stefan Miklosovic a5767a5834
Fix schema.cql created by a snapshot after dropping more than one column
patch by Stefan Miklosovic; reviewed Benjamin Lerer, Francisco Guerrero for CASSANDRA-19747
2024-07-10 10:34:54 +02:00
Mick Semb Wever 68f8309785
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Add termin-8-jdk as a valid jdk8 candidate in the debian package
2024-07-05 16:43:42 +02:00
Mick Semb Wever abe6d859f2
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Add termin-8-jdk as a valid jdk8 candidate in the debian package
2024-07-05 16:43:14 +02:00
Mick Semb Wever c485440de3
Merge branch 'cassandra-2.2' into cassandra-3.0
* cassandra-2.2:
  Add termin-8-jdk as a valid jdk8 candidate in the debian package
2024-07-05 16:42:45 +02:00