Commit Graph

14788 Commits

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