Stefan Miklosovic
f91655df06
When a custom disk error handler fails to initiate, fail the startup of a node instead of using the no-op handler
...
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-20614
2025-05-07 08:18:03 +02:00
Ariel Weisberg
b9395acad6
Fix AccordMigrationTest not marking nodes down correctly
...
Patch by Ariel Weisberg; Reviewed by Caleb Rackliffe for CASSANDRA-20621
2025-05-06 13:27:45 -04:00
Stefan Miklosovic
c24fbd814a
Rewrite constraint framework to remove column specification from constraint definition, introduce SQL-like NOT NULL
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella Corbi for CASSANDRA-20563
Co-authored-by: Bernardo Botella Corbi <contacto@bernardobotella.com>
2025-05-06 15:31:39 +02:00
Szymon Miężał
12c5495d2f
Reading mmapped trie-index exceeding 2GiB results in exception
...
Memory-mapping is done in buffers of size less than 2GiB.
When these buffers aren't aligned to 4KiB and the trie-index file
spans many buffers then reading it results in going out of buffer
bounds.
This patch fixes it by making sure that the buffers are correctly
aligned.
patch by Szymon Miezal; reviewed by blambov and brandonwilliams for CASSANDRA-20351
2025-05-06 06:39:20 -05:00
Brandon Williams
765bfb9daf
Merge branch 'cassandra-5.0' into trunk
2025-05-06 06:39:12 -05:00
Szymon Miężał
6a81306876
Reading mmapped trie-index exceeding 2GiB results in exception
...
Memory-mapping is done in buffers of size less than 2GiB.
When these buffers aren't aligned to 4KiB and the trie-index file
spans many buffers then reading it results in going out of buffer
bounds.
This patch fixes it by making sure that the buffers are correctly
aligned.
patch by Szymon Miezal; reviewed by blambov and brandonwilliams for CASSANDRA-20351
2025-05-06 06:38:53 -05:00
Stefan Miklosovic
0669db7a04
Write user docs for CEP-24 - Password validation / generation
...
patch by Stefan Miklosovic for CASSANDRA-20619
2025-05-06 09:10:59 +02:00
jaydeepkumar1984
f6eb4a6b31
Fix a bug in AutoRepair duration metric calculation if schedule finishes quickly
...
patch by Jaydeepkumar Chovatia; reviewed by Andy Tolbert for CASSANDRA-20622
2025-05-05 23:17:42 -05:00
jaydeepkumar1984
f2bf017e6d
Fix AutoRepair Flaky InJvm dtest
...
Patch by Jaydeepkumar Chovatia; Reviewed by Andy Tolbert, Chris Lohfink for CASSANDRA-20620
2025-05-05 17:34:28 -05:00
David Capwell
ccc92767ff
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:02:03 -07:00
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