Commit Graph

30279 Commits

Author SHA1 Message Date
Sunil Ramchandra Pawar 85048b2019 Add post-filtering support for the IN operator in SAI queries
patch by Sunil Ramchandra Pawar; reviewed by Caleb Rackliffe and Ekaterina Dimitrova
2024-11-12 10:33:45 -06:00
Brandon Williams 914aab56e3 Merge branch 'cassandra-5.0' into trunk 2024-11-11 06:26:18 -06:00
Brandon Williams 35dd2f33e2 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-11-11 06:25:44 -06:00
Mohammad Aburadeh b79f9dca87 Log client address when detecting unknown exception in client networking
Patch by Mohammad Aburadeh, reviewed by brandonwilliams and smiklosovic
for CASSANDRA-20072
2024-11-11 06:24:51 -06:00
Bereng 7d0c0c8d1e Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Flaky PstmtPersistenceTest
2024-11-11 09:48:47 +01:00
Bereng 022002531d Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Flaky PstmtPersistenceTest
2024-11-11 09:47:11 +01:00
Bereng 4acce2af89 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Flaky PstmtPersistenceTest
2024-11-11 09:45:33 +01:00
Bereng 7ba691e3d3 Flaky PstmtPersistenceTest
patch by Berenguer Blasi; reviewed by Stefan Miklosovic for CASSANDRA-20055
2024-11-11 09:43:31 +01:00
Caleb Rackliffe fd4113d5fe Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Batch clusterings into single SAI partition post-filtering reads
2024-11-08 14:42:03 -06:00
Caleb Rackliffe cccb9821b4 Batch clusterings into single SAI partition post-filtering reads
patch by Caleb Rackliffe; reviewed by Zhao Yang for CASSANDRA-19497
2024-11-08 14:13:12 -06:00
Stefan Miklosovic 7b33e91852
Merge branch 'cassandra-5.0' into trunk
configuration section for native_transport_max_auth_threads with default value of 4 was added to cassandra.yaml
as part of this merge-up as this section was forgotten to be added in the original patch of CASSANDRA-17812
2024-11-06 23:05:57 +01:00
Stefan Miklosovic a3f2771543
Merge branch 'cassandra-4.1' into cassandra-5.0
configuration section for native_transport_max_auth_threads with default value of 4 was added to cassandra.yaml
as part of this merge-up as this section was forgotten to be added in the original patch of CASSANDRA-17812
2024-11-06 23:02:53 +01:00
Stefan Miklosovic 0f590133f8
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-11-06 22:27:28 +01:00
Josh McKenzie 8ea70cd1f0
Backport of CASSANDRA-17812: Rate-limit new client connection auth setup to avoid overwhelming bcrypt
This backport differs from CASSANDRA-17812 in such a way that by default the number
of auth request threads is set to 0. That will route all requests to request executor as before this change.
The patch in 5.0 and later sets the default number of auth request threads to 4.

patch by Josh McKenzie; reviewed by Chris Lohfink for CASSANDRA-20057

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2024-11-06 22:23:16 +01:00
Stefan Miklosovic 317e9ec57d
Merge branch 'cassandra-5.0' into trunk 2024-11-06 14:41:58 +01:00
Stefan Miklosovic 4b6dcf873b
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-11-06 14:37:18 +01:00
Stefan Miklosovic 17418a2ba0
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-11-06 14:33:00 +01:00
Stefan Miklosovic 6093c2d99b
Support UDTs and vectors as clustering keys in descending order
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20050
2024-11-06 14:28:48 +01:00
Stefan Miklosovic 20c23254de
Merge branch 'cassandra-5.0' into trunk 2024-11-06 09:59:48 +01:00
Stefan Miklosovic 008d04d8df
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-11-06 09:55:16 +01:00
Stefan Miklosovic 521891c196
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-11-06 09:47:00 +01:00
Stefan Miklosovic 181ddc0600
Fix CQL in snapshot's schema which did not contained UDTs used as reverse clustering columns
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-20036
2024-11-06 09:41:45 +01:00
mck 7feb03e75b
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add nodetool checktokenmetadata command that checks TokenMetadata is insync with Gossip endpointState
2024-11-05 22:47:03 +01:00
mck 34bed3df49
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Add nodetool checktokenmetadata command that checks TokenMetadata is insync with Gossip endpointState
2024-11-05 22:46:27 +01:00
jaydeepkumar1984 e5c919f273
Add nodetool checktokenmetadata command that checks TokenMetadata is insync with Gossip endpointState
patch by Jaydeepkumar Chovatia; reviewed by Brandon Williams, Mick Semb Wever for CASSANDRA-18758
2024-11-05 22:42:28 +01:00
Marcus Eriksson c679b47303 Don’t finish ongoing decommission and move operations during startup
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20040
2024-11-04 13:59:05 +01:00
Marcus Eriksson 73d8ee1a71 Bump the correct metric when doing progress barrier retries
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20016
2024-11-04 13:50:33 +01:00
Bereng 6e0a99c0f5 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  CASSANDRA-19986 Prepared statements cache computation improvements
2024-11-04 10:04:33 +01:00
Bereng 0e11be9ce6 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  CASSANDRA-19986 Prepared statements cache computation improvements
2024-11-04 10:02:47 +01:00
Bereng 94c2a09772 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  CASSANDRA-19986 Prepared statements cache computation improvements
2024-11-04 10:00:03 +01:00
Bereng ff54fd5ffd CASSANDRA-19986 Prepared statements cache computation improvements
patch by Berenguer Blasi; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-19986
2024-11-04 09:56:32 +01:00
Sam Tunnicliffe c8d44ae0b7 Merge branch 'cassandra-5.0' into trunk 2024-11-01 19:01:50 +00:00
Sam Tunnicliffe 8153a0b321 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-11-01 19:01:16 +00:00
David Capwell 28759d8bbc CEP-10: Simulator Java11 Support (backport to cassandra-4.1)
patch by David Capwell; reviewed by Benedict Elliott Smith, Ekaterina Dimitrova for CASSANDRA-17178
backported to 4.1 in CASSANDRA-19935
2024-11-01 18:59:05 +00:00
Sam Tunnicliffe 9ff31e8060 Equality check for Paxos.Electorate should not depend on collection types
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19935
2024-11-01 18:53:22 +00:00
Sam Tunnicliffe a27e09930d Nodetool cms reconfigure reports streaming failures correctly
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-19972
2024-11-01 18:31:37 +00:00
Stefan Miklosovic 15ed18e9d4
Merge branch 'cassandra-5.0' into trunk 2024-10-31 16:30:47 +01:00
Stefan Miklosovic 194e632ab3
Ban the usage of "var" instead of full types in the production code
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20038
2024-10-31 16:19:54 +01:00
Caleb Rackliffe 32030e4fa3 Reintroduce RestrictionSet#iterator() optimization around multi-column restrictions
patch by Caleb Rackliffe; reviewed by Benjamin Lerer for CASSANDRA-20034
2024-10-29 14:49:38 -05:00
mck 916486b34e
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Suppress CVE-2024-45772 lucene-core-9.7.0.jar
2024-10-29 12:44:35 +01:00
mck 3550b88307
Suppress CVE-2024-45772 lucene-core-9.7.0.jar
CVE in Lucene Replicator which the project doesn't use.

 patch by Mick Semb Wever; reviewed by Brandon Williams, Caleb Rackliffe for CASSANDRA-20024
2024-10-29 12:40:55 +01:00
Ata İlhan Köktürk 46b36f23cd
Explicitly localize strings to Locale.US for internal implementation
There is inconsistent usage of toLowerCase/toUpperCase methods in the codebase.
Somewhere we already use Locale.US, somewhere not. That might cause various issues in runtime
as shown in CASSANDRA-19953 ticket when an environment Cassandra runs in has different locale from expected.
In this patch, all such method calls explicitly set their locale to Locale.US. This patch also contains
a checkstyle rule which fails the compilation if toLowerCase or toUpperCase is used.
We prefer calls to methods in LocalizeString class which use US locale.

patch by Ata İlhan Köktürk; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-19953

Co-authored-by: Maxwell Guo <cclive1601@gmail.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apacheorg>
2024-10-29 08:58:01 +01:00
Cheng c8854af030
Add -H option for human-friendly output in nodetool compactionhistory
patch by Cheng Wang; reviewed by Jordan West, Stefan Miklosovic for CASSANDRA-20015
2024-10-25 20:15:45 +02:00
Bereng 7446529e45 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add extra compaction junit
2024-10-24 08:17:07 +02:00
Bereng 5e4ff921af Add extra compaction junit
patch by Berenguer Blasi; reviewed by Branimir Lambov, Michael Semb Wever for CASSANDRA-19863
2024-10-24 08:13:05 +02:00
rwelgosh e8891be04a Fix type check for referenced duration type for nested types
Patch by Raymond Welgosh; Reviewed by David Capwell, Yifan Cai for CASSANDRA-19890
2024-10-23 10:32:19 -07:00
Sam Tunnicliffe a9a83dc884 Simulation test fixes
* During replacement, correctly set token on the joining instance
* In bootstrap, we were not correctly stepping through the join
  operation
* When investigating bootstrap issues, it was found that we were
  not running repairPaxosForTopologyChange on this path.

Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-19997
2024-10-22 09:51:50 +01:00
Marcus Eriksson 2d3068c01f During TCM upgrade, retain all properties of existing system tables
Patch by Abe Ratnofsky and marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19992

Co-authored-by: Abe Ratnofsky <abe@aber.io>
2024-10-22 10:30:44 +02:00
Mick Semb Wever 6bbe85ef51
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  increment to version 5.0.3
2024-10-20 00:57:05 +02:00
Mick Semb Wever a58fa2ce7f
increment to version 5.0.3 2024-10-19 15:15:12 +02:00