Commit Graph

19553 Commits

Author SHA1 Message Date
Sunil Ramchandra Pawar f429810c8f nit, removing unnecessary brackets. 2025-03-27 23:51:01 +05:30
Sunil Ramchandra Pawar b9ebbfb268 nit changes, reverting to orginal condition and adding READ_ONLY_HEAP to Generators. 2025-03-27 23:34:22 +05:30
Sunil Ramchandra Pawar 6f413eef87 Adding a case to handle read-only BB. 2025-03-27 13:04:59 +05:30
Stefan Miklosovic fb2aa5f386
Merge branch 'cassandra-5.0' into trunk 2025-03-18 19:27:08 +01:00
Stefan Miklosovic 2d3d7788f4
Fix failing simulator dtests after CASSANDRA-20368
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20450
2025-03-18 19:25:47 +01:00
David Capwell 779bae02c8 Add LIMIT and PER PARTITION LIMIT to the AST SingleNodeTableWalkTest
patch by David Capwell; reviewed by Abe Ratnofsky for CASSANDRA-20399
2025-03-17 14:07:00 -07:00
Andy Tolbert 19007f374c
Remove remaining driver dependencies from server code
patch by Andy Tolbert; reviewed by Stefan Miklosovic for CASSANDRA-20327
2025-03-17 21:55:38 +01:00
Jordan West 35d51725ef Add read ahead buffer for scans of compressed data files
Patch by Jordan West, Jon Haddad; Reviewed by David Capwell, Caleb Rackliffe, Dmitry Konstantinov for CASSANDRA-15452

NOTE: This was originally merged up via merge commit but something went wrong, this is the fix commit to bring this back to trunk
2025-03-17 11:13:19 -07: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
Ariel Weisberg bac5548fbc Merge branch 'cassandra-5.0' into trunk 2025-03-14 14:06:05 -04:00
Ariel Weisberg b17e4ee88a Fix SSTableReader interval mock in UnifiedCompactionStrategyTest
patch by Ariel Weisberg; reviewed by Caleb Rackliffe for CASSANDRA-20437
2025-03-14 14:04:59 -04: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 acaff7bf44 Fix the constraints mutability on ColumnMetadata
patch by Bernardo Botella; reviewed by Sam Tunnicliffe for CASSANDRA-20357
2025-03-13 13:49:17 -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
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
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
Jordan West a09d5240ab Add read ahead buffer for scans of compressed data files
Patch by Jordan West, Jon Haddad; Reviewed by David Capwell, Caleb Rackliffe, Dmitry Konstantinov for CASSANDRA-15452
2025-03-05 15:37:07 -08: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
Stefan Miklosovic d276dec0ad
Deduplicate constraint validation logic for supported types
patch by Stefan Miklosovic; reviewed by Bernardo Botella for CASSANDRA-20371
2025-02-28 13:56:56 +01:00
Abe Ratnofsky a80663de61 Fix NoSuchElementException on dropped keyspace during Paxos cleanup
patch by Abe Ratnofsky; reviewed by Francisco Guerrero, Sam Tunnicliffe for CASSANDRA-20320
2025-02-27 14:37:16 -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