maoling
1261ba159c
Add additional metrics around hints
...
patch by Ling Mao; reviewed by Stefan Miklosovic, Maxim Muzafarov for CASSANDRA-20499
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2025-06-05 10:55:33 +02:00
Stefan Miklosovic
3a506eb104
Merge branch 'cassandra-5.0' into trunk
2025-06-02 12:31:31 +02:00
Dmitry Konstantinov
3969de6524
Mark JDK 17 as production ready
...
patch by Dmitry Konstantinov; reviewed by Michael Semb Wever, Stefan Miklosovic for CASSANDRA-20681
2025-06-02 12:15:59 +02:00
Ariel Weisberg
5450a1f20e
Support for add and replace in IntervalTree
...
Patch by Ariel Weisberg and Yuqi Yan; Reviewed by Marcus Eriksson for CASSANDRA-20513
Co-authored-by: Yuqi Yan <yukei0509@gmail.com>
2025-05-29 17:10:55 -04:00
Sam Tunnicliffe
8d89e160fd
Ninja fix CHANGES.txt
2025-05-29 10:25:25 +01:00
Caleb Rackliffe
fe13726fc6
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Ensure replica filtering protection does not trigger unnecessary short read protection reads
2025-05-28 16:53:06 -05:00
Caleb Rackliffe
e5c101673a
Ensure replica filtering protection does not trigger unnecessary short read protection reads
...
patch by Caleb Rackliffe; reviewed by Blake Eggleston and Zhao Yang for CASSANDRA-20639
2025-05-28 16:40:37 -05:00
Andy Tolbert
34650af75a
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Ensure prepared_statement INSERT timestamp precedes eviction DELETE
2025-05-27 22:35:02 -05:00
Andy Tolbert
e90fece187
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Ensure prepared_statement INSERT timestamp precedes eviction DELETE
2025-05-27 22:29:40 -05:00
Andy Tolbert
9c308ce2f3
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Ensure prepared_statement INSERT timestamp precedes eviction DELETE
2025-05-27 22:22:41 -05:00
Andy Tolbert
d077f69553
Ensure prepared_statement INSERT timestamp precedes eviction DELETE
...
Updates SystemKeyspace.writePreparedStatement to accept a timestamp
associated with the Prepared creation time. Using this timestamp
will ensure that an INSERT into system.prepared_statements will
always precede the timestamp for the same Prepared in
SystemKeyspace.removePreparedStatement.
This is needed because Caffeine 2.9.2 may evict an entry as soon
as it is inserted if the maximum weight of the cache is exceeded
causing the DELETE to be executed before the INSERT.
Additionally, any clusters currently experiencing a leaky
system.prepared_statements table from this bug may struggle to
bounce into a version with this fix as
SystemKeyspace.loadPreparedPreparedStatements currently does
not paginate the query to system.prepared_statements, causing heap
OOMs. To fix this this patch adds pagination at 5000 rows and
aborts loading once the cache size is loaded. This should allow
nodes to come up and delete older prepared statements that may no
longer be used as the cache fills up (which should happen immediately).
This patch does not address the issue of Caffeine immediately evicting
a prepared statement, however it will prevent the
system.prepared_statements table from growing unbounded. For most users
this should be adequate, as the cache should only be filled when there
are erroneously many unique prepared statements. In such a case we can
expect that clients will constantly prepare statements regardless
of whether or not the cache is evicting statements.
patch by Andy Tolbert; reviewed by Berenguer Blasi and Caleb Rackliffe for CASSANDRA-19703
2025-05-27 22:17:15 -05:00
David Capwell
cfb393398f
Merge branch 'cassandra-5.0' into trunk
2025-05-27 15:24:08 -07:00
Pranav Shenoy
823f48663e
Unified Compaction does not properly validate min and target sizes
...
patch by Pranav Shenoy; reviewed by Branimir Lambov, Claude Warren, David Capwell for CASSANDRA-20398
2025-05-27 15:22:32 -07:00
Caleb Rackliffe
9c489b81a9
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid lambda usage in TrieMemoryIndex range queries and ensure queue size tracking is per column
2025-05-27 15:53:30 -05:00
Caleb Rackliffe
dd0d8c03b9
Avoid lambda usage in TrieMemoryIndex range queries and ensure queue size tracking is per column
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20668
2025-05-27 15:44:01 -05:00
Stefan Miklosovic
4154632d16
Merge branch 'cassandra-5.0' into trunk
2025-05-23 17:50:44 +02:00
Brad Schoening
49c8122d8f
Avoid CQLSH throwing an exception loading .cqlshrc on non-supported platforms
...
While we do not support Windows as such (at least on server), reviewers evaluated that this might be fixed
as the gains (Windows users using CQLSH to connect to Cassandra running on supported platforms) are justified.
patch by Brad Schoening; reviewed by Brandon Williams, Josh McKenzie for CASSANDRA-20478
2025-05-23 17:49:28 +02:00
David Capwell
a739e795de
Merge branch 'cassandra-5.0' into trunk
2025-05-22 14:17:18 -07:00
David Capwell
ac05c94e6a
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-05-22 14:15:37 -07:00
David Capwell
005d3c28e5
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-05-22 14:14:42 -07:00
David Capwell
c736d22cf8
Gossip doesn't converge due to race condition when updating EndpointStates multiple fields
...
patch by David Capwell, Matt Byrd; reviewed by Blake Eggleston, Brandon Williams for CASSANDRA-20659
2025-05-22 14:12:15 -07:00
Dmitry Konstantinov
063e1fe3d2
Introduce NativeAccessor to avoid new ByteBuffer allocation on flush for each NativeCell
...
Patch by Dmitry Konstantinov; reviewed by Branimir Lambov for CASSANDRA-20173
2025-05-21 22:16:41 +01:00
Andy Tolbert
f80a234d1e
Migrate sstableloader code to its own tools directory and artifact
...
As part of a broader effort to decouple java driver code from the
server code, this moves sstableloader to its own tools directory.
As sstableloader is also used as a library (CASSANDRA-10637), added
a new artifact 'cassandra-sstableloader' that will get deployed to
maven along with 'cassandra-all'.
While I expect this is likely a niche use case, this will allow users
to continue using BulkExport as a library.
Moves sstableloader-specific targets to its own build.xml in
tools/sstableloader/build.xml.
Also updates IDE project files and circleci to utilize new
sstableloader-specific targets.
patch by Andy Tolbert; reviewed by Stefan Miklosovic and Mick Semb Wever for CASSANDRA-20328
2025-05-18 12:35:52 -05:00
jaydeepkumar1984
7ab1e3827c
Stop AutoRepair monitoring thread upon Cassandra shutdown
...
patch by Jaydeepkumar Chovatia; reviewed by Bernardo Botella, Andrew Tolbert for CASSANDRA-20623
2025-05-16 14:47:57 -07:00
Dmitry Konstantinov
95716f6b4b
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Relax validation of snapshot name as a part of SSTable files path validation
2025-05-16 13:12:43 +01:00
Dmitry Konstantinov
96b3db90fb
Relax validation of snapshot name as a part of SSTable files path validation
...
Patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-20649
2025-05-16 12:50:42 +01:00
Stefan Miklosovic
6cfea18dda
Avoid duplicate hardlink error upon forceful taking of ephemeral snapshots during repair
...
patch by Stefan Miklosovic; reviewed by Francisco Guerrero for CASSANDRA-20490
2025-05-16 09:59:15 +02:00
Marcus Eriksson
629b02599e
Merge branch 'cassandra-5.0' into trunk
2025-05-12 13:31:18 +02:00
Marcus Eriksson
29746cffbb
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-05-12 13:29:36 +02:00
Marcus Eriksson
d4fb51347c
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-05-12 13:22:01 +02:00
Josh McKenzie
f2e3a0a4fc
Handle sstable metadata stats file getting a new mtime after compaction has finished
...
Patch by Josh McKenzie and marcuse; reviewed by Josh McKenzie and marcuse for CASSANDRA-18119
2025-05-12 13:16:50 +02:00
Brandon Williams
a39f3b066f
Merge branch 'cassandra-5.0' into trunk
2025-05-09 06:26:36 -05:00
Brandon Williams
9e1b09f384
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-05-09 06:22:50 -05:00
Brandon Williams
b4484968bd
Use MAX_PARALLEL_TRANSFERS instead of default
...
Patch by brandonwilliams, reviewed by mck for CASSANDRA-20532
2025-05-09 06:14:59 -05:00
Brandon Williams
43746c13c2
Use MAX_PARALLEL_TRANSFERS instead of default
...
Patch by brandonwilliams, reviewed by mck for CASSANDRA-20532
2025-05-09 06:10:46 -05:00
Caleb Rackliffe
ab1ce5938d
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Optimize initial skipping logic for SAI queries on large partitions
2025-05-08 14:57:13 -05:00
Sunil Ramchandra Pawar
7a8335c273
Optimize initial skipping logic for SAI queries on large partitions
...
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe and David Capwell for CASSANDRA-20191
2025-05-08 14:28:07 -05:00
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
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ł
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
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
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
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
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
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
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
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
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
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
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
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
Blake Eggleston
09c8fa1030
CEP-15 (C*): Messaging and storage engine integration
...
patch by Blake Eggleston; reviewed by Benedict Elliott Smith, David Capwell for CASSANDRA-17103
2025-04-17 11:59:47 -07:00
David Capwell
e1823e0e22
Merge branch 'cassandra-5.0' into trunk
2025-04-16 15:22:56 -07:00
Sunil Ramchandra Pawar
4436b84a5a
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-16 15:21:49 -07:00
Caleb Rackliffe
1e7e24893d
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid computing prepared statement size for unprepared batches
2025-04-15 23:06:41 -05:00
Caleb Rackliffe
7d93089a1e
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Avoid computing prepared statement size for unprepared batches
2025-04-15 23:00:40 -05:00
Caleb Rackliffe
8077f276c2
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Avoid computing prepared statement size for unprepared batches
2025-04-15 22:58:16 -05:00
Caleb Rackliffe
78290bed45
Avoid computing prepared statement size for unprepared batches
...
patch by Caleb Rackliffe; reviewed by Berenguer Blasi and Marcus Eriksson for CASSANDRA-20556
2025-04-15 22:48:10 -05:00
Marcus Eriksson
8404d2fd5c
Improve performance when getting writePlacementAllSettled from ClusterMetadata in large cluster with many range movements
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20526
2025-04-11 13:49:55 +02:00
Marcus Eriksson
2c05f82755
Add nodetool command to dump the contents of the system_views.{cluster_metadata_log, cluster_metadata_directory} tables
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20525
2025-04-11 13:48:34 +02:00
Marcus Eriksson
eb0c77ae1e
Fix TreeMap race in CollectionVirtualTableAdapter causing us to lose rows in the virtual table
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20524
2025-04-11 13:46:11 +02:00
Marcus Eriksson
6f79207c34
Improve metadata log catch up with inter-DC mutation forwarding
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20523
2025-04-11 13:44:42 +02:00
Sam Tunnicliffe
7a888149df
Support topology-safe changes to Datacenter & Rack for live nodes
...
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-20528
2025-04-11 11:53:09 +01:00
Caleb Rackliffe
30f1429e6d
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid purging deletions in RowFilter when reconciliation is required
2025-04-10 22:38:20 -05:00
Caleb Rackliffe
725e4ba3eb
Avoid purging deletions in RowFilter when reconciliation is required
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20541
2025-04-10 22:31:53 -05:00
Brandon Williams
1f9648a7a8
correct CHANGES
2025-04-10 13:18:13 -05:00
Brandon Williams
040d5e0111
Bump version, prepare CHANGES
2025-04-10 11:55:12 -05:00
Caleb Rackliffe
ef0eec07f8
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Fixed multiple single-node SAI query bugs relating to static columns
- Ensure MemtableIndexWriter calculates min/max properly with indexes on partition key elements
- Ensure only rows with live data are indexed
- Ensure min cannot be greater than max in intersection statistics with static keys
- Correct tracking of last key in the searcher in the presence of static keys
2025-04-08 22:12:39 -05:00
Caleb Rackliffe
4e2e5f3c57
Fixed multiple single-node SAI query bugs relating to static columns
...
- Ensure MemtableIndexWriter calculates min/max properly with indexes on partition key elements
- Ensure only rows with live data are indexed
- Ensure min cannot be greater than max in intersection statistics with static keys
- Correct tracking of last key in the searcher in the presence of static keys
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20338
2025-04-08 21:58:21 -05:00
Ariel Weisberg
67df6a5bff
Add SSTableIntervalTree latency metric
...
Patch by Ariel Weisberg; Reviewed by David Capwell for CASSANDRA-20502
2025-04-08 15:30:56 -04:00
Ariel Weisberg
1bcd91f531
Merge branch 'cassandra-5.0' into trunk
2025-04-08 15:22:58 -04:00
Ariel Weisberg
944baa08da
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-04-08 15:19:16 -04:00
Ariel Weisberg
ec00426584
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-04-08 15:18:23 -04:00
Ariel Weisberg
96bfbe6250
Dropwizard Meter causes timeouts when infrequently used
...
patch by Ariel Weisberg; reviewed by Maxim Muzafarov for CASSANDRA-19332
2025-04-08 15:16:08 -04:00
mck
54bca21dab
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Upgrade java-driver-core to 3.12.1 and org.apache coords
2025-04-07 16:15:50 +02:00
mck
694a88bdbe
Upgrade java-driver-core to 3.12.1 and org.apache coords
...
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17231
2025-04-07 15:45:39 +02:00
Pedro Gordo
c3089b564a
Ignore repetitions of semicolon in CQLSH
...
When grouping the tokens, skip statements composed by a single endtoken.
patch by Pedro Gordo; reviewed by Brad Schoening, Stefan Miklosovic for CASSANDRA-19956
2025-04-07 09:46:00 +02:00
Marcus Eriksson
95aca49915
Avoid NPE during cms initialization abort
...
Patch by marcuse; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-20527
2025-04-07 08:13:37 +02:00
Marcus Eriksson
b31d15b9b5
Avoid failing queries when epoch changes and replica goes up/down
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20489
2025-04-07 08:09:21 +02:00
Matt Byrd
7f1503d9c9
Split out truncation record locking to prevent it being blocked by slow interval tree build on removeEndpoint
...
Patch by Matt Byrd; reviewed by Ariel Weisberg, Marcus Eriksson for CASSANDRA-20480
2025-04-04 15:19:30 -04:00
Ekaterina Dimitrova
50978a0d07
CASSANDRA-20402: Add new reason RequestFailureReason.INDEX_BUILD_IN_PROGRESS
...
and IndexBuildInProgress exception when queries fail during index build
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe for CASSANDRA-20402
2025-04-04 09:52:15 -04:00
Blake Eggleston
45df7627d5
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Fix mixed mode paxos hang
2025-04-03 15:31:03 -07:00
Blake Eggleston
eaa20275ff
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Fix mixed mode paxos hang
2025-04-03 15:28:19 -07:00
Blake Eggleston
cf60eb8672
Fix mixed mode paxos hang
...
- reinstates the mrc check from CASSANDRA-12043 for legacy paxos purging
Patch by Blake Eggleston; Reviewed by Ariel Weisberg for CASSANDRA-20514
2025-04-03 15:22:45 -07:00
Ariel Weisberg
a449a4f76b
PaxosCleanupLocalCoordinator wait for transaction timeout before repairing
...
Patch by Ariel Weisberg; Reviewed by Benedict Elliott Smith for CASSANDRA-20469
2025-04-03 12:16:47 -04:00
Stefan Miklosovic
6468b2898d
Merge branch 'cassandra-5.0' into trunk
2025-04-03 09:19:28 +02:00
Stefan Miklosovic
abb3e8bdbb
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-04-03 09:18:23 +02:00
Stefan Miklosovic
147a224a88
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-04-03 09:17:28 +02:00
Doug Rohrer
51cf55747b
Update OWASP dependency checker to version 12.1.0
...
patch by Doug Rohrer; reviewed by Stefan Miklosovic for CASSANDRA-20501
2025-04-03 09:16:06 +02:00
Stefan Miklosovic
89d153affd
Merge branch 'cassandra-5.0' into trunk
2025-04-02 22:46:32 +02:00
Stefan Miklosovic
27a6ef3ea8
Update netty to 4.1.119.Final and netty-tcnative to 2.0.70.Final
...
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20314
2025-04-02 22:43:52 +02:00
Stefan Miklosovic
9d6c3c43b8
Merge branch 'cassandra-5.0' into trunk
2025-04-02 12:11:24 +02:00
Stefan Miklosovic
7076623ac7
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-04-02 12:07:43 +02:00
Stefan Miklosovic
49ec0dc692
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-04-02 12:04:07 +02:00
Stefan Miklosovic
73f0e2e401
Suppress CVE-2025-25193
...
patch by Stefan Miklosovic; reviewed by Michael Semb Wever, Brandon Williams for CASSANDRA-20504
2025-04-02 11:52:11 +02:00
Stefan Miklosovic
bb66561142
Various fixes in constraint framework
...
- fix some edge cases for NOT_NULL
- ability to specify constraints when altering a column
- ensure constraint is specified on a column it is bound to
- fix nullity check on map type
- fix satistfiability check on function constraints
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20481
2025-03-31 14:42:31 +02:00
Mick Semb Wever
68a4e6f690
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:34:30 +02:00
Mick Semb Wever
1311766ad1
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:32:10 +02:00
Mick Semb Wever
ef3dc6491e
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Autogenerate toplevel .snyk file from owasp suppressions
2025-03-30 09:31:04 +02:00
Mick Semb Wever
9abed87ba4
Autogenerate toplevel .snyk file from owasp suppressions
...
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-20319
2025-03-30 09:27:39 +02:00
David Capwell
b56edf2a5d
Add support in CAS for -= on numeric types, and fixed improper handling of empty bytes which lead to NPE
...
patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-20477
2025-03-28 15:06:52 -07:00
Blake Eggleston
4e8bfd25ba
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
convert legacy zero ballots to 4.1 zero value on deserialization
2025-03-28 14:14:34 -07:00
Blake Eggleston
31235c4314
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
convert legacy zero ballots to 4.1 zero value on deserialization
2025-03-28 14:12:32 -07:00
Blake Eggleston
2a5749f203
convert legacy zero ballots to 4.1 zero value on deserialization
...
Patch by Blake Eggleston, reviewed by Alex Petrov and Ariel Weisberg for CASSANDRA-20493
2025-03-28 14:10:18 -07:00
Stefan Miklosovic
9843b3d40e
Do not fail to start a node with materialized views after they are turned off in config
...
patch by Stefan Miklosovic; reviewed by Maxwell Guo for CASSANDRA-20452
2025-03-28 09:12:21 +01:00
maoling
009146959a
Fix nodetool gcstats output, support human-readable units and more output formats
...
nodetool gcstats output was broken as such / not aligned.
This command was using a completely custom way of displaying the statistics which was fixed.
This patch also supports three output modes: table, yaml, json under -F flag.
There is also a possibility to output the figures in human-friendly format via -H flag.
The patch also adds more JVM statistics related to direct memory besides
already existing "allocated direct memory" being:
- max direct memory
- reserved direct memory
patch by Ling Mao; reviewed by Brad Schoening, Stefan Miklosovic for CASSANDRA-19022
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2025-03-28 09:10:39 +01:00
Marcus Eriksson
4318e74180
Various gossip to TCM upgrade fixes
...
patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20483
2025-03-26 13:45:16 +01:00
Marcus Eriksson
4fb81ea483
Add nodetool command to abort failed nodetool cms initialize
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20482
2025-03-26 13:44:39 +01:00
Sam Tunnicliffe
51e01a3862
Repair Paxos for the distributed metadata log when CMS membership changes
...
Patch by Josh McKenzie and Sam Tunnicliffe; reviewed by Marcus Ericksson for
CASSANDRA-20467
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2025-03-26 10:34:34 +00:00
Marcus Eriksson
615aa04edf
Reintroduce CASSANDRA-17411 in trunk
...
Patch by marcuse; reviewed by Caleb Rackliffe and Sam Tunnicliffe for CASSANDRA-19346
2025-03-26 08:02:28 +01:00
Sam Tunnicliffe
73cd2c56ca
Add histogram columns to timer metrics vtable
...
Patch by Sam Tunnicliffe; reviewed by Maxim Muzafarov for
CASSANDRA-20466
2025-03-24 12:01:09 +00:00
Brandon Williams
10c8c04244
Merge branch 'cassandra-5.0' into trunk
2025-03-21 09:53:25 -05:00
Brandon Williams
91d78afc2b
Add CASSANDRA-15452 to CHANGES
2025-03-21 09:53:13 -05:00
Stefan Miklosovic
02d71cee45
Add support for time, date, timestamp types in scalar constraint
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20274
2025-03-20 21:03:55 +01:00
Caleb Rackliffe
9b59f8eb09
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Serialization can lose complex deletions in a mutation with multiple collections in a row
2025-03-19 12:35:21 -05:00
Caleb Rackliffe
1d47fab638
Serialization can lose complex deletions in a mutation with multiple collections in a row
...
patch by Caleb Rackliffe; reviewed by Berenguer Blasi and Abe Ratnofsky for CASSANDRA-20449
2025-03-19 12:21:47 -05:00
Stefan Miklosovic
9951225280
Merge branch 'cassandra-5.0' into trunk
2025-03-19 12:35:10 +01:00
Stefan Miklosovic
8a98305aee
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-03-19 12:31:35 +01:00
Stefan Miklosovic
8c4e21eeca
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-03-19 12:26:29 +01:00
Stefan Miklosovic
a16333387c
Update zstd-jni to 1.5.7-2
...
patch by Stefan Miklosovic; reviewed by Dmitry Konstantinov for CASSANDRA-20453
2025-03-19 12:24:33 +01:00
Stefan Miklosovic
fcc1f25ba2
Merge branch 'cassandra-5.0' into trunk
2025-03-17 18:43:43 +01:00
Tiago Alves
c925228a4d
Improve error messages when initializing auth classes
...
patch by Tiago Alves; reviewed by Stefan Miklosovic, Maxwell Guo for CASSANDRA-20368
2025-03-17 18:37:50 +01:00
Stefan Miklosovic
84b6f316e8
Merge branch 'cassandra-5.0' into trunk
2025-03-17 09:15:15 +01:00
Stefan Miklosovic
9e04c7a789
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-03-17 09:14:16 +01:00
Stefan Miklosovic
dff453350a
Optionally skip exception logging on invalid legacy protocol magic exception
...
patch by Stefan Miklosovic; reviewed by David Capwell, Brad Schoening for CASSANDRA-19483
2025-03-17 09:12:21 +01:00
Stefan Miklosovic
85b25f2256
Add regular expression constraint
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20275
2025-03-14 17:13:00 +01:00
Bernardo Botella Corbi
5b0a9c3aa4
Improve constraints autocompletion
...
Improve constraints autocompletion
patch by Bernardo Botella; reviewed by Maxwell Guo for CASSANDRA-20341
2025-03-13 13:44:00 -07:00
Caleb Rackliffe
7b15f477f9
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Prioritize legacy 2i over SAI for columns with multiple indexes
2025-03-13 12:21:09 -05:00
Caleb Rackliffe
740d6d0805
Prioritize legacy 2i over SAI for columns with multiple indexes
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20334
2025-03-13 12:15:25 -05:00
maoling
7c0a86323e
Add JVM version and Cassandra build date to nodetool version -v
...
patch by Ling Mao; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-19721
2025-03-12 11:48:36 +01:00
Stefan Miklosovic
5c845f3b09
Move all disk error logic to DiskErrorsHandler to enable pluggability
...
patch by Stefan Miklosovic; reviewed by Tommy Stendahl, Brandon Williams for CASSANDRA-20363
2025-03-11 22:06:49 +01:00
Brandon Williams
3fb6091170
Merge branch 'cassandra-5.0' into trunk
2025-03-11 15:18:07 -05:00
Brandon Williams
14f2b67493
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-03-11 15:15:08 -05:00
Brandon Williams
9b8ecb1883
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-03-11 15:14:46 -05:00
Brandon Williams
763994ba43
Update changes for 20408/20412
2025-03-11 15:14:15 -05:00
Ariel Weisberg
0d22b4a3b4
Merge branch 'cassandra-5.0' into trunk
2025-03-07 17:37:44 -05:00
Ariel Weisberg
ef13e9f9bf
Ensure only offline tools can build IntervalTrees without first/last key fields
...
patch by Ariel Weisberg; reviewed by Caleb Rackliffe for CASSANDRA-20407
2025-03-07 17:36:41 -05:00
Dmitry Konstantinov
db38529ab8
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-03-07 23:24:22 +03:00
Maxwell Guo
3fb88e0f9d
Add missed documentation for CREATE TABLE LIKE
...
patch by Maxwell guo; reviewed by Brad Schoening and Michael Semb Wever for CASSANDRA-20491
2025-03-07 16:27:39 +08:00
Caleb Rackliffe
df96494801
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Support null column value tombstones in FQL batch statements
2025-03-06 11:23:07 -06:00
Caleb Rackliffe
aee3c7531b
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Support null column value tombstones in FQL batch statements
2025-03-06 11:16:57 -06:00
Caleb Rackliffe
985e121404
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Support null column value tombstones in FQL batch statements
2025-03-06 11:09:01 -06:00
Caleb Rackliffe
f375a3914f
Support null column value tombstones in FQL batch statements
...
patch by Caleb Rackliffe; reviewed by Abe Ratnofsky for CASSANDRA-20397
2025-03-06 10:56:49 -06:00
Stefan Miklosovic
cc63d3cd83
Merge branch 'cassandra-5.0' into trunk
2025-03-06 14:31:05 +01:00
Stefan Miklosovic
4f382d93f5
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-03-06 14:27:06 +01:00
Stefan Miklosovic
16bca9d343
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-03-06 14:23:11 +01:00
Stefan Miklosovic
ef354d0d5e
Update Zstd library to 1.5.7-1
...
patch by Stefan Miklosovic; reviewed by Yifan Cai for CASSANDRA-20367
2025-03-06 14:19:01 +01:00
Bernardo Botella Corbi
58b7ebfa4b
Add OCTET_LENGTH constraint
...
patch by Bernardo Botella; reviewed by Stefan Miklosovic for CASSANDRA-20340
2025-03-05 10:12:52 -08:00
Ariel Weisberg
0d0a2b6d28
Merge branch 'cassandra-5.0' into trunk
2025-03-04 17:11:52 -05:00
Ariel Weisberg
20562d10a0
Improve IntervalTree build throughput
...
patch by Ariel Weisberg; reviewed by Marcus Eriksson for CASSANDRA-19596
2025-03-04 17:10:43 -05:00
Dmitry Konstantinov
eed4fbc8f7
Reduce heap memory allocations in different places along the hot write path
...
Avoid iterator allocations if possible
Handle typical cases (such as a single row, single table writes) more efficiently
Add fast paths for typical scenarios (like absense of views and triggers)
Memorize things which can be computed once
Patch by Dmitry Konstantinov; reviewed by Chris Lohfink, Michael Semb Wever, Vladimir Sitnikov for CASSANDRA-20167
2025-03-04 22:33:14 +03:00
maulin-vasavada
37fe4b679c
Provide keystore_password_file and truststore_password_file options to read credentials from a file
...
patch by Maulin Vasavada; reviewed by Stefan Miklosovic, Maxwell Guo for CASSANDRA-13428
2025-03-04 12:33:41 +01:00
Marcus Eriksson
ca227d82ba
Unregistering a node should also remove it from tokenMap if it is there and recalculate the placements
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20346
2025-03-03 08:49:05 +01:00
Marcus Eriksson
369daf56bc
Fix PartitionUpdate.isEmpty deserialization issue to avoid potential EOFException
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20345
2025-03-03 08:46:11 +01:00
Marcus Eriksson
417bb21d2e
Avoid adding LEFT nodes to tokenMap on upgrade from gossip
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20344
2025-03-03 08:46:06 +01:00
Marcus Eriksson
2bc24da841
Allow empty placements when deserializing cluster metadata
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20343
2025-03-03 08:39:32 +01:00
Marcus Eriksson
415eaffb9c
Reduce heap pressure when initializing CMS
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20267
2025-03-03 08:37:33 +01:00
Francisco Guerrero
773b3a3911
ninja-fix CHANGES.txt add missing entry for CASSANDRA-20320
2025-02-27 14:43:44 -08:00
Abe Ratnofsky
f1bec5d0c5
Improve performance of DistributedSchema.validate for large schemas
...
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Benedict Elliott Smith, Matt Byrd, Sam Tunnicliffe for CASSANDRA-20360
2025-02-27 12:28:52 -06:00
Caleb Rackliffe
f81ece5cd0
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid limit on RFP fetch in the case of an unresolved static row
2025-02-26 17:51:23 -06:00
Caleb Rackliffe
5483165938
Avoid limit on RFP fetch in the case of an unresolved static row
...
patch by Caleb Rackliffe; reviewed by David Capwell and Zhao Yang for CASSANDRA-20323
2025-02-26 17:41:15 -06:00
Stefan Miklosovic
a51344c611
Add JSON constraint
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20273
2025-02-26 16:08:13 +01:00
Stefan Miklosovic
980047657d
Prevent invalid constraint combinations
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20330
2025-02-26 15:49:15 +01:00
Maxwell Guo
989f0414b7
Support CREATE TABLE LIKE with INDEXES
...
patch by Maxwell Guo; reviewed by Stefan Miklosovic, Sam Tunnicliffe for CASSANDRA-19965
2025-02-26 16:14:43 +08:00
Stefan Miklosovic
ffdc4b79a4
Merge branch 'cassandra-5.0' into trunk
2025-02-25 09:43:23 +01:00
Stefan Miklosovic
378c93de90
Include materialized views to the output of DESCRIBE TABLE statements
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20365
2025-02-25 09:39:44 +01:00
mck
b7f8f69799
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Fix SimpleClient ability to release acquired capacity
2025-02-22 16:36:37 +01:00
mck
f59a90b895
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Fix SimpleClient ability to release acquired capacity
2025-02-22 16:35:22 +01:00
Sam Tunnicliffe
291cbcccf6
Fix SimpleClient ability to release acquired capacity
...
patch by Sam Tunnicliffe; reviewed by Dmitry Konstantinov, Mick Semb Wever for CASSANDRA-20202
2025-02-22 16:33:05 +01:00
Stefan Miklosovic
0bf51f6e48
Merge branch 'cassandra-5.0' into trunk
2025-02-22 08:07:56 +01:00
Daniel Lenski
027689ae48
Fix unparseable YAML in default cassandra.yaml when uncommented for downstream tooling
...
The presence of an extra space the `:` in `key: value` pairs
makes the default `conf/cassandra.yaml` file included in
this repository unparseable and non-functional for some downstream tooling.
patch by Daniel Lenski; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-20359
2025-02-22 08:05:23 +01:00
Sam Tunnicliffe
1a6b8e0628
Invalidate affected prepared stmts on every table metadata change
...
Where MVs are also affected by a table alteration make sure we correctly
set the epoch of the TableMetadata enclosed in the ViewMetadata
Patch by Sam Tunnicliffe and Marcus Eriksson; reviewed by Marcus
Eriksson for CASSANDRA-20318
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2025-02-20 15:12:47 +00:00
Bernardo Botella Corbi
95180bab15
Adds new size Guardrails
...
Patch by Bernardo Botella Corbi; Reviewed by Jordan West, Yifan Cai for CASSANDRA-19677
2025-02-17 12:28:55 -08:00
Marcus Eriksson
ebbdd8bb81
Make it possible to abort all kinds of multi step operations
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20217
2025-02-17 13:14:50 +01:00
Stefan Miklosovic
f2c6ee24ed
Do not leak non-Java exceptions when calling snapshot operations via JMX
...
patch by Stefan Miklosovic; reviewed by Francisco Guerrero for CASSANDRA-20335
2025-02-17 09:14:42 +01:00
Stefan Miklosovic
1630ef2cec
Implement NOT_NULL constraint
...
patch by Stefan Miklosovic; reviewed by Bernardo Botella, Dinesh Joshi for CASSANDRA-20276
Co-authored-by: Bernardo Botella <bernardo.botella@apple.com>
2025-02-17 09:06:33 +01:00
Caleb Rackliffe
e0c7d7b938
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid fetching entire partitions on unresolved static rows in RFP when no static column predicates exist
2025-02-12 17:37:52 -06:00
Caleb Rackliffe
bd99331bf2
Avoid fetching entire partitions on unresolved static rows in RFP when no static column predicates exist
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20243
2025-02-12 17:29:22 -06:00
Caleb Rackliffe
d77ac1a325
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid indexing empty values for non-literals and types that do not allow them
2025-02-11 15:16:17 -06:00
Caleb Rackliffe
f28a16740a
Avoid indexing empty values for non-literals and types that do not allow them
...
patch by Caleb Rackliffe; reviewed by David Capwell and Andres de la Peña for CASSANDRA-20313
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Andres de la Peña <a.penya.garcia@gmail.com>
2025-02-11 14:49:53 -06:00
Stefan Miklosovic
511bd20314
Merge branch 'cassandra-5.0' into trunk
2025-02-07 23:29:19 +01:00
Stefan Miklosovic
881a1f023f
Fix incorrect results of min / max in-built functions on clustering columns in descending order
...
Not unwrapping returnType has consequences of not
returning the correct results when using aggregate in-built functions
(max / min) on clustering columns having descending order.
The safest solution, is to unwrap returnType "at source"
and work with unwrapped type only since then.
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20295
2025-02-07 23:18:40 +01:00
Stefan Miklosovic
8ca0af32f3
Merge branch 'cassandra-3.11' into cassandra-4.0
2025-02-07 12:45:03 +01:00
Stefan Miklosovic
ed3f1af723
Merge branch 'cassandra-3.0' into cassandra-3.11
2025-02-07 12:43:10 +01:00
Stefan Miklosovic
f340514bbe
Increment version
2025-02-07 12:40:54 +01:00
Bernardo Botella Corbi
08ddb01dd3
Improve error messages for constraints
...
patch by Bernardo Botella; reviewed by Stefan Miklosovic, Dinesh Joshi for CASSANDRA-20266
2025-02-07 09:14:47 +01:00
Caleb Rackliffe
4a80daf32e
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid possible consistency violations for SAI intersection queries over repaired index matches and multiple non-indexed column matches
2025-02-06 13:58:45 -06:00
Caleb Rackliffe
953ab6cf64
Avoid possible consistency violations for SAI intersection queries over repaired index matches and multiple non-indexed column matches
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20189
2025-02-06 13:32:39 -06:00
Brandon Williams
b6baa8bde3
Ninja fix ticket number in changes
2025-02-06 06:05:44 -06:00
Sam Tunnicliffe
066c489d76
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
Note: this is a re-application of the commit to cassandra-4.0 only,
to fix a bad merge the first time around.
Co-authored-by: Francisco Guerrero <frankgh@apache.org>
2025-02-06 09:13:03 +00:00
Francisco Guerrero
bf6fcf84ae
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
Minimize expensive reads during authz flow in 3.0/3.11
2025-02-05 15:14:04 -08:00
Sam Tunnicliffe
0b6ae2673e
Minimize expensive reads during authz flow in 3.0/3.11
...
Patch by Sam Tunnicliffe; reviewed by Francisco Guerrero for CASSANDRA-20293
2025-02-05 14:25:19 -08:00
Jon Meredith
eb43f7b4d4
Merge branch 'cassandra-5.0' into trunk
2025-02-05 13:53:32 -07:00
Jon Meredith
f97c945afb
Skip check for DirectIO when initializing tools.
...
Patch by Jon Meredith; reviewed by Stefan Miklosovic for CASSANDRA-20289
2025-02-05 13:48:16 -07:00
Chris Lohfink
69dc5d05ef
Add system_views.partition_key_statistics for querying SSTable metadata
...
patch by Chris Lohfink; reviewed by David Capwell, Stefan Miklosovic for CASSANDRA-20161
2025-02-05 12:49:31 +01:00
Stefan Miklosovic
90f51b9c0b
Merge branch 'cassandra-5.0' into trunk
2025-02-04 10:58:59 +01:00
Stefan Miklosovic
36e46df4b1
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-02-04 10:55:16 +01:00
Stefan Miklosovic
b044009f0b
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-02-04 10:51:21 +01:00
Francisco Guerrero
4f9e474bb1
Fix autocompletion for role names/user names
...
patch by Francisco Guerrero; reviewed by Stefan Miklosovic, Bernardo Botella for CASSANDRA-20175
2025-02-04 10:44:12 +01:00
Stefan Miklosovic
4a844820a2
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-02-04 10:04:55 +01:00
Stefan Miklosovic
9f5fc9d892
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-02-04 09:59:23 +01:00
Stefan Miklosovic
8e28dd0c17
Merge branch 'cassandra-3.11' into cassandra-4.0
2025-02-04 09:54:09 +01:00
Stefan Miklosovic
82e2c7d991
Merge branch 'cassandra-3.0' into cassandra-3.11
2025-02-04 09:50:02 +01:00
Stefan Miklosovic
7c147ef80e
Increment version
2025-02-04 09:46:26 +01:00
Caleb Rackliffe
254e1402b4
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Avoid under-skipping during intersections when an iterator has mixed STATIC and WIDE keys
2025-02-03 16:11:01 -06:00
Caleb Rackliffe
a118a704cb
Avoid under-skipping during intersections when an iterator has mixed STATIC and WIDE keys
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20258
2025-02-03 16:02:43 -06:00
Josh McKenzie
501fbf7624
Merge branch 'cassandra-5.0' into trunk
2025-02-03 11:03:48 -05:00
Josh McKenzie
a9f2c7f4ba
Merge branch 'cassandra-4.1' into cassandra-5.0
...
# Conflicts:
# CHANGES.txt
2025-02-03 11:00:11 -05:00
Dmitry Konstantinov
68b7425332
WaitQueue.Signal.awaitUninterruptibly may block forever if invoking thread is interrupted
...
Patch by Dmitry Konstantinov; reviewed by Benedict Elliott Smith and Josh McKenzie for CASSANDRA-20084
2025-02-03 10:58:56 -05:00
Bernardo Botella Corbi
5cbf993d96
CEP-42 - Add Constraints Framework
...
patch by Bernardo Botella; reviewed by Yifan Cai, Stefan Miklosovic, Josh McKenzie, Maxwell Guo, Dmitry Konstantinov, Sam Tunnicliffe for CASSANDRA-19947
2025-01-31 10:49:11 +01:00
Caleb Rackliffe
8e5bdc6d4b
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Correct the default behavior of compareTo() when comparing WIDE and STATIC PrimaryKeys
2025-01-27 15:22:58 -06:00
Dmitry Konstantinov
d7258ac8f3
Add table metric PurgeableTombstoneScannedHistogram and a tracing event for scanned purgeable tombstones
...
patch by Dmitry Konstantinov; reviewed by Chris Lohfink, Stefan Miklosovic for CASSANDRA-20132
2025-01-27 22:10:20 +01:00
Caleb Rackliffe
225eb2feeb
Correct the default behavior of compareTo() when comparing WIDE and STATIC PrimaryKeys
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20238
2025-01-27 15:05:44 -06:00
Marcus Eriksson
634a5985d3
Make sure we can parse the expanded CQL before writing it to the log or sending it to replicas
...
Patch by marcuse; reviewed by Sam Tunnicliffe and Stefan Miklosovic for CASSANDRA-20218
2025-01-27 10:47:15 +01:00
Stefan Miklosovic
cf2bca244e
Merge branch 'cassandra-5.0' into trunk
2025-01-27 08:34:13 +01:00
Stefan Miklosovic
0d420a0df4
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-01-27 08:26:53 +01:00
Stefan Miklosovic
85647ceadb
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-01-27 08:23:35 +01:00
Stefan Miklosovic
6207a305ba
Tighten up permissions in dc authorizers
...
patch by Stefan Miklosovic; reviewed by Francisco Guerrero for CASSANDRA-20225
2025-01-26 17:52:09 +01:00
David Capwell
186b5e4dbe
Merge branch 'cassandra-5.0' into trunk
2025-01-24 15:02:11 -08:00
David Capwell
975c309eee
Merge branch 'cassandra-4.1' into cassandra-5.0
2025-01-24 15:00:52 -08:00
David Capwell
935effb7e0
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-01-24 14:59:34 -08:00
David Capwell
3ddccf4521
CBUtil serialization of UTF8 does not handle all UTF8 properly
...
patch by David Capwell; reviewed by Yifan Cai for CASSANDRA-20234
2025-01-24 14:56:44 -08:00
Stefan Miklosovic
ba4a0d4fcb
Add format_bytes and format_time functions
...
patch by Stefan Miklosovic; reviewed by Jordan West for CASSANDRA-19546
Co-authored-by: Cheng Wang <chengw@netflix.com>
2025-01-24 09:47:12 +01:00
Stefan Miklosovic
06f0965a08
Fix error when trying to assign a tuple to target type not being a tuple
...
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20237
2025-01-24 01:34:23 +01:00
Maxwell Guo
b4bcdfa785
Fail CREATE TABLE LIKE statement if UDTs in target keyspace do not exist or they have different structure from ones in source keyspace
...
patch by Maxwell Guo; reviewed by Stefan Miklosovic, Benjamin Lerer for CASSANDRA-19966
2025-01-22 18:53:53 +01:00
Joseph Lynch
0d39ea4917
Support octet_length and length functions
...
Previously users would either have to read the data and check the length
themselves or enable UDF and register UDFs to check the length of
columns. This patch adds a subset of the SQL99 (binary) string
functions: "octet_length" defined on all types and "length" defined on
UTF8 strings.
patch by Joey Lynch; reviewed by Chris Lohfink and Jordan West for CASSANDRA-20102
2025-01-22 11:59:23 +01:00
Stefan Miklosovic
a8702d6a44
Merge branch 'cassandra-5.0' into trunk
2025-01-22 01:11:26 +01:00
Marcus Eriksson
751d3f24cf
Make sure we can set parameters when configuring CassandraCIDRAuthorizer
...
patch by Marcus Eriksson; reviewed by Stefan Miklosovic for CASSANDRA-20220
2025-01-22 01:08:14 +01:00
Blake Eggleston
15d6437283
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Use mutation creation time for hint expiry rather than hint submission time
2025-01-21 12:16:05 -08:00