Sam Tunnicliffe
48dcf5e092
Snitch re-implementation
...
Deprecate IEndpointSnitch entirely, to be replaced with new interfaces:
* Locator for endpoint -> location mapping
* InitialLocationProvider to supply the DC & rack for registration
* NodeProximity for sorting endpoints and replicas at query time
For migration/upgrade/deprecation, nodes can still be configured with
an IEndpointSnitch implementation via endpoint_snitch in config, but
we hide this with a facade and only present the new interfaces.
Patch by Sam Tunnicliffe and Marcus Eriksson; reviewed by Sam
Tunnicliffe and Marcus Eriksson for CASSANDRA-19488
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2024-12-16 11:25:39 +00:00
Zhongxiang Zheng
2ff41551a6
Enable JMX server configuration to be in cassandra.yaml
...
patch by Zhongxiang Zheng; reviewed by Stefan Miklosovic, Maulin Vasavada, Cheng Wang, Jordan West for CASSANDRA-11695
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2024-12-16 11:01:29 +01:00
Branimir Lambov
54e4688069
Parallelized UCS compactions
...
patch by Branimir Lambov, reviewed by Sylvain Lebresne for CASSANDRA-18802
2024-12-11 17:37:09 +02:00
Marcus Eriksson
61fe1f0bf9
Merge branch 'cassandra-5.0' into trunk
2024-12-11 10:32:04 +01:00
Marcus Eriksson
f9ab5cf797
Add flag to avoid invalidating key cache on sstable deletions
...
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-20068
2024-12-11 10:27:11 +01:00
Marcus Eriksson
0ed989e554
Don't skip paxos repair on topology change
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20136
2024-12-11 10:10:38 +01:00
Marcus Eriksson
9bf1680b1f
Avoid prepared statement invalidation race when committing schema changes
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20116
2024-12-11 10:10:32 +01:00
Caleb Rackliffe
ce035b0215
Restore optimization in MultiCBuilder around building one clustering
...
patch by Caleb Rackliffe; reviewed by Benjamin Lerer, Abe Ratnofsky, and Bernardo Botella for CASSANDRA-20129
2024-12-10 21:07:10 -06:00
Stefan Miklosovic
f410b0fa0b
Consolidate all snapshot management to SnapshotManager
...
patch by Stefan Miklosovic; reviewed by Francisco Guerrero for CASSANDRA-18111
2024-12-11 02:51:29 +01:00
David Capwell
4f49ca5e29
TCM's Retry.Deadline#retryIndefinitely is dangerous if used with RemoteProcessor as the deadline does not impact message retries
...
patch by David Capwell; reviewed by Alex Petrov, Sam Tunnicliffe for CASSANDRA-20059
2024-12-10 15:25:46 -08:00
Caleb Rackliffe
86868c6df8
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Interpret inet, bigint, varint, and decimal as non-reversed types for query construction and post-filtering
2024-12-09 15:11:40 -06:00
Caleb Rackliffe
2651623af6
Interpret inet, bigint, varint, and decimal as non-reversed types for query construction and post-filtering
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20100
2024-12-09 15:06:02 -06:00
Ekaterina Dimitrova
bc40d3bb27
Fix RequestFailureReason constants codes
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe and Stefan Miklosovic for CASSANDRA-20126
2024-12-05 15:31:46 -05:00
Branimir Lambov
3078aea1cf
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
2024-12-04 10:12:39 +02:00
Sam Tunnicliffe
880fa6587b
Include column drop timestamp in ALTER TABLE transformation
...
Patch by Sam Tunnicliffe and Marcus Eriksson; reviewed by Sam
Tunnicliffe and Marcus Eriksson for CASSANDRA-18961
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2024-11-27 10:33:22 +00:00
Mick Semb Wever
e476c48a1c
GossipShutdowns only apply if greater than or equal generation
...
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-20033
2024-11-25 11:49:44 +01:00
Maulin Vasavada
9131be9fa5
Make JMX SSL configurable in cassandra.yaml
...
patch by Maulin Vasavada; reviewed by Stefan Miklosovic, Doug Rohrer for CASSANDRA-18508
2024-11-23 10:40:13 +01:00
Yifan Cai
8b126e97bb
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Enhance CQLSSTableWriter to notify client on sstable production
2024-11-22 15:01:00 -08:00
Yifan Cai
1655578ae8
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
Enhance CQLSSTableWriter to notify client on sstable production
2024-11-22 14:59:16 -08:00
Yifan Cai
c44008e9e4
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Enhance CQLSSTableWriter to notify client on sstable production
2024-11-22 14:57:36 -08:00
Yifan Cai
659558c980
Enhance CQLSSTableWriter to notify client on sstable production
...
Patch by Yifan Cai; Reviewed by Francisco Guerrero for CASSANDRA-19800
2024-11-22 14:49:22 -08:00
Caleb Rackliffe
2facddc33e
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Streamline the serialized format for index status gossip messages
2024-11-21 15:19:40 -06:00
Caleb Rackliffe
376fe2a9fe
Streamline the serialized format for index status gossip messages
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-20058
2024-11-21 14:59:38 -06:00
Mick Semb Wever
0d9d67bcb1
Merge branch 'cassandra-4.1' into cassandra-5.0
...
* cassandra-4.1:
A node should always return back the full information about itself for gossip regardless the asked heartbeat version
2024-11-19 00:49:52 +01:00
Mick Semb Wever
7559e2708a
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
A node should always return back the full information about itself for gossip regardless the asked heartbeat version
2024-11-19 00:38:23 +01:00
Runtian Liu
426eebb513
A node should always return back the full information about itself for gossip regardless the asked heartbeat version
...
patch by Runtian Liu; reviewed by Brandon Williams, Michael Semb Wever for CASSANDRA-19983
2024-11-19 00:23:45 +01:00
Marcus Eriksson
b6eb5890da
Optionally prevent tombstone purging during repair
...
patch by Marcus Eriksson, Abe Ratnofsky; reviewed by Jon Meredith for CASSANDRA-20071
2024-11-18 13:24:31 -07:00
Stefan Miklosovic
835ce9c5d8
Merge branch 'cassandra-5.0' into trunk
2024-11-15 11:57:16 +01:00
Stefan Miklosovic
8890c649a6
Merge branch 'cassandra-4.1' into cassandra-5.0
2024-11-15 11:55:12 +01:00
Stefan Miklosovic
d6f37a697e
Merge branch 'cassandra-4.0' into cassandra-4.1
2024-11-15 11:53:25 +01:00
Dmitry Konstantinov
d0c984fa32
Change the resolution of AbstractCommitLogService#lastSyncedAt to nanos to be aligned with later comparisons
...
patch by Dmitry Konstantinov; reviewed by Branimir Lambov, Stefan Miklosovic for CASSANDRA-20074
2024-11-15 11:37:52 +01:00
Brandon Williams
b3ae8553d1
Merge branch 'cassandra-5.0' into trunk
2024-11-13 12:44:35 -06:00
Brandon Williams
88a5ea76cf
Update RMI object marshalling restrictions
...
Patch by brandonwilliams; reviewed by paulo for CASSANDRA-20076
2024-11-13 12:44:20 -06:00
Brandon Williams
d3ac810b37
Merge branch 'cassandra-4.0' into cassandra-4.1
2024-11-13 12:42:24 -06:00
Brandon Williams
39b42ccd2f
Update RMI object marshalling restrictions
...
Patch by brandonwilliams; reviewed by paulo for CASSANDRA-20076
2024-11-13 12:39:36 -06:00
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
Mohammad Aburadeh
0b3c26ab05
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:21:15 -06: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
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