Commit Graph

31353 Commits

Author SHA1 Message Date
David Capwell 0a4777dae4 zero copy streaming allocates direct memory that isnt used, but does help to fragment the memory space
patch by David Capwell; reviewed by Yifan Cai for CASSANDRA-20577
2025-05-02 17:00:20 -07:00
David Capwell e8dc9f1863 Merge branch 'cassandra-5.0' into trunk 2025-05-02 16:36:01 -07:00
David Capwell 4f25e58f26 zero copy streaming allocates direct memory that isn't used, but does help to fragment the memory space
patch by David Capwell; reviewed by Yifan Cai for CASSANDRA-20577
2025-05-02 16:35:38 -07:00
David Capwell 234763f057 Remove Accord CQL words from the reserved keywords list
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-20613
2025-05-02 12:51:36 -07:00
Jon Haddad 4971b4c42c Improved UCS docs with migration advice and example workloads.
Patch by Jon Haddad for CASSANDRA-19389
2025-05-02 12:17:15 -07:00
Jon Haddad 80224a9767 Improved UCS docs with migration advice and example workloads.
Patch by Jon Haddad for CASSANDRA-19389
2025-05-02 12:15:36 -07:00
David Capwell f2dd1adccd Accords gradle build fails due to ephemeral issues with rat and checkstyle
patch by David Capwell; reviewed by Michael Semb Wever for CASSANDRA-20590
2025-05-02 11:27:50 -07:00
Doug Rohrer 3bc266ca96 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  CASSANDRA-20609 - CQLSSTableWriter should support setting the format (5.0)
2025-05-01 13:50:33 -04:00
Doug Rohrer 2aeb6a0290 CASSANDRA-20609 - CQLSSTableWriter should support setting the format (5.0) 2025-05-01 13:33:57 -04:00
jaydeepkumar1984 58d1cc9b1e Increasing default for auto_repair.sstable_upper_threshold considering large Cassandra tables 2025-04-29 09:36:19 -05:00
Jordan West 84fdf2efd9 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Don't allocate in ThreadLocalReadAheadBuffer#close()
2025-04-28 13:30:03 -07:00
Jordan West 79c59347be Don't allocate in ThreadLocalReadAheadBuffer#close()
Patch by Jordan West; reviewed by Benedict Elliot Smith for CASSANDRA-20551
2025-04-28 13:26:21 -07:00
David Capwell f734983287 Get accord compiling on JDK 21
patch by Alex Petrov, David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-20608
2025-04-28 12:33:02 -07:00
Marcus Eriksson 5e003af516 Fix token restrictions with MIN_TOKEN
Patch by marcuse and David Capwell; reviewed by David Capwell for CASSANDRA-20557
2025-04-28 15:51:11 +02:00
mck 0459108ca7
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  In ubuntu2004_test automatically find the latest available patch version for each C* major.minor
2025-04-27 20:19:55 +02:00
Mick Semb Wever ec26d53d6c
In ubuntu2004_test automatically find the latest available patch version for each C* major.minor
Inspired by https://github.com/apache/cassandra-builds/pull/108
Closes https://github.com/apache/cassandra/pull/4025

 patch by Mick Semb Wever; reviewed by Siyao (Jane) He for CASSJAVA-40
2025-04-27 20:18:52 +02:00
Caleb Rackliffe 5b0956be4b Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Ensure RowFilter#isMutableIntersection() properly evaluates numeric ranges on a single column
2025-04-27 10:15:51 -05:00
Caleb Rackliffe 4bcae8e57e Ensure RowFilter#isMutableIntersection() properly evaluates numeric ranges on a single column
patch by Caleb Rackliffe; reviewed by Ariel Weisberg for CASSANDRA-20566
2025-04-27 09:46:59 -05:00
mck d08c0d6fbb
Adjust jenkins splits post accord merge
patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-20602
2025-04-25 19:05:08 +02:00
Nikolay Izhikov fc97fd1037
Upgrade logback version to 1.5.18 and slf4j dependencies to 2.0.17
patch by Nikolay Izhikov; reviewed by Stefan Miklosovic, Maxim Muzafarov, Brandon Williams for CASSANDRA-20429
2025-04-25 14:24:35 +02:00
Dmitry Konstantinov a93f0819e3 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add LittleEndianMemoryUtil and NativeEndianMemoryUtil, switch memtable-related off-heap objects and Memory to use them and have Little Endian now. Add BE offsets detection on Summary loading. Add test SSTables in an old format with BE offsets in Summary component to LegacySSTableTest.
2025-04-24 12:20:09 +01:00
Dmitry Konstantinov ae82efc013 Add LittleEndianMemoryUtil and NativeEndianMemoryUtil, switch memtable-related off-heap objects and Memory to use them and have Little Endian now.
Add BE offsets detection on Summary loading.
Add test SSTables in an old format with BE offsets in Summary component to LegacySSTableTest.

Patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Michael Semb Wever for CASSANDRA-20190
2025-04-24 11:45:26 +01:00
David Capwell df24dacc0c Merge branch 'cassandra-5.0' into trunk 2025-04-23 18:00:34 -07:00
David Capwell 07831c9cc7 SAI marks an index as non-empty when a partial partition/row modifications is flushed due to repair
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-20567
2025-04-23 17:58:45 -07:00
David Capwell 7160c49ed7 Merge branch 'cassandra-5.0' into trunk 2025-04-23 15:07:13 -07:00
Sunil Ramchandra Pawar 97037496f2 SAI fails queries when multiple columns exist and a non-indexed column is a composite with a map
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe, David Capwell for CASSANDRA-19891
2025-04-23 15:05:54 -07:00
Jordan West c3bae31a52 Change SSTableSimpleScanner to use SSTableReader#openDataReaderForScan
patch by Jordan West; Reviewed by Jon Haddad for CASSANDRA-20538
2025-04-23 11:29:56 -07:00
jaydeepkumar1984 6753fb49dc Automated Repair Inside Cassandra for CEP-37
patch by Jaydeepkumar Chovatia; reviewed by Andy Tolbert, Chris Lohfink, Francisco Guerrero, Kristijonas Zalys for CASSANDRA-19918
2025-04-23 11:04:36 -05:00
Stefan Miklosovic 8fcf309dad
Implement appender of slow queries to system_views.slow_queries table
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov, Bernardo Botella for CASSANDRA-13001
2025-04-23 09:28:22 +02:00
maulin-vasavada bcea8f5815
Refactor EncryptionOptions to use client / server encryption options builders
patch by Maulin Vasavada; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-20404
2025-04-23 09:27:09 +02:00
Jon Meredith 4805123eb8 Merge branch 'cassandra-5.0' into trunk 2025-04-22 16:08:20 -06:00
Jon Meredith 32cfd477df Merge branch 'cassandra-4.1' into cassandra-5.0 2025-04-22 14:43:49 -06:00
Jon Meredith 2ac701629b Merge branch 'cassandra-4.0' into cassandra-4.1 2025-04-22 14:42:51 -06:00
Jon Meredith d4d858d382 Updating a column with a new TTL but same expiration time is non-deterministic and causes repair mismatches.
patch by Jon Meredith; reviewed by Marcus Eriksson for CASSANDRA-20561
2025-04-22 14:42:02 -06:00
Benedict Elliott Smith 95c6fd481a Serialization improvements
- Share TableMetadatas and PartitionKey for PartialTxn serialization
Also:
 - TxnReference et al should reference uniqueId, and avoid serializing ksName/cfName
 - Don't double count shared keys when estimating size on heap

 patch by Benedict; reviewed by David Capwell for CASSANDRA-20578
2025-04-22 19:49:44 +01:00
Brad Schoening 2e602ec972 Merge branch 'CASSANDRA-19631e' into trunk 2025-04-21 18:46:54 -04:00
Naren Sreedhara 91bc34fbf8 Added tab-ahead support for new built-in functions
patch by Brad Schoening, Naren Sreedhara; reviewed by Stefan Miklosovic, Bernardo Botella Corbi for CASSANDRA-19631
2025-04-21 18:32:49 -04:00
Dmitry Konstantinov 17cb89208c Fix marking an SSTable as suspected and BufferPool leakage in case of a corrupted SSTable read during a compaction
Patch by Dmitry Konstantinov; reviewed by Branimir Lambov for CASSANDRA-20396
2025-04-19 13:21:21 -07:00
Branimir Lambov f327b63db0 Introduce SSTableSimpleScanner for compaction
This removes the usage of index files during compaction and simplifies
and improves the performance of compaction.

patch by Branimir Lambov; reviewed by Sylvain Lebresne for CASSANDRA-20092
2025-04-19 13:21:14 -07:00
Francisco Guerrero 8d16b6b074 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  allow grant permission on virtual keyspaces
2025-04-18 09:31:22 -07:00
Francisco Guerrero b83fef6efa Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  allow grant permission on virtual keyspaces
2025-04-18 09:19:49 -07:00
Francisco Guerrero 60ea852811 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  allow grant permission on virtual keyspaces
2025-04-18 09:16:00 -07:00
Tibor Répási 348ffb0ba0 allow grant permission on virtual keyspaces
Patch by Tibor Répási; reviewed by Francisco Guerrero, Maxwell Guo for CASSANDRA-20171
2025-04-18 09:13:04 -07:00
David Capwell 91f29a1f86 Accord: Hopefully last rebase cleanup
patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-20568
2025-04-17 14:57:01 -07:00
Alex Petrov 4cdbb5cf2a Accord: Test fixes
patch by Alex Petrov; reviewed by Benedict Elliott Smith, David Capwell for CASSANDRA-20552
2025-04-17 11:59:56 -07:00
Caleb Rackliffe d3439c671a ninja: remove accord_demo.txt and simulator.sh 2025-04-17 11:59:56 -07:00
David Capwell 71aedb2851 Cleanup Accord diff to get it ready for merge
patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-20548
2025-04-17 11:59:56 -07:00
David Capwell 6c6082b5d0 Accord: switch back to 1g heap to keep CI stable
patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-20553
2025-04-17 11:59:56 -07:00
David Capwell dc841f5481 Fix RouteIndexTest when run with -latest.yaml
patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-20549
2025-04-17 11:59:56 -07:00
Benedict Elliott Smith 19048ef570 Improve Journal table key serialization
Also improve:
 - TxnId serialization
 - StoreParticipants serialization
 - compareUnsigned Node.Id for consistency with serialized TxnId

patch by Benedict; reviewed by Alex Petrov for CASSANDRA-20546
2025-04-17 11:59:56 -07:00