Commit Graph

19267 Commits

Author SHA1 Message Date
David Capwell 3afa2585d9 Memtable allocation type unslabbed_heap_buffers_logged will cause an assertion error for TrieMemtables and SegmentedTrieMemtables
patch by David Capwell; reviewed by Brandon Williams, Caleb Rackliffe for CASSANDRA-19835
2024-08-14 14:49:51 -07:00
Stefan Miklosovic 5ab976d796
Fix direct IO support always being evaluated to false upon the first start of a node
patch by Stefan Miklosovic; reviewed by Branimir Lambov, Maxwell Guo for CASSANDRA-19779
2024-08-04 23:59:35 +02:00
Stefan Miklosovic 52a513f724
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-07-10 10:47:09 +02:00
Stefan Miklosovic 31e2edf052
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-07-10 10:42:39 +02:00
Stefan Miklosovic a5767a5834
Fix schema.cql created by a snapshot after dropping more than one column
patch by Stefan Miklosovic; reviewed Benjamin Lerer, Francisco Guerrero for CASSANDRA-19747
2024-07-10 10:34:54 +02:00
Sam Tunnicliffe d45d87f125 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-07-10 09:25:19 +01:00
Sam Tunnicliffe 1cd0b38214 Revert to localised start time for coordinator read latency measurement
Patch by Sam Tunnicliffe; reviewed by Marcus Ericsson for
CASSANDRA-19755
2024-07-10 09:17:55 +01:00
Stefan Miklosovic 63b4e1c41c
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-07-09 17:09:30 +02:00
Stefan Miklosovic a878adfc89
Do not create a role if ALTER ROLE IF EXISTS operates on non-existing role
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19749
2024-07-09 17:03:25 +02:00
Caleb Rackliffe 1bec8b99ca Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  UnsupportedOperationException when reducing scope for LCS compactions
2024-07-02 14:27:36 -05:00
Caleb Rackliffe f378f92030 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  UnsupportedOperationException when reducing scope for LCS compactions
2024-07-02 14:13:30 -05:00
Marcus Eriksson d54646e409 UnsupportedOperationException when reducing scope for LCS compactions
patch by Caleb Rackliffe; reviewed by Zhao Yang, Brandon Williams, and Marcus Eriksson for CASSANDRA-19704

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2024-07-02 13:35:34 -05:00
Blake Eggleston 732fb758c6 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Use OpOrder in repairIterator to ensure we don't lose memtables mid-paxos repair
2024-07-01 10:31:57 -07:00
Jon Haddad 2112c4c1c0 Use OpOrder in repairIterator to ensure we don't lose memtables mid-paxos repair
Patch by Jon Haddad; Reviewed by Blake Eggleston for CASSANDRA-19668
2024-07-01 10:20:25 -07:00
Benjamin Lerer 43d99c2259 Merge branch cassandra-4.1 into cassandra-5.0 2024-06-27 12:36:18 +02:00
Benjamin Lerer ef8bc82f1b Merge branch cassandra-4.0 into cassandra-4.1 2024-06-27 12:27:55 +02:00
Benjamin Lerer 90208c0a29 Makes LWT conditions behavior on frozen and non-frozen columns consistent for null column values
Patch by Benjamin Lerer; review by Ekaterina Dimitrova for CASSANDRA-19637
2024-06-27 10:15:03 +02:00
Caleb Rackliffe ba5ab993c7 Avoid streams in the common case for UpdateTransaction creation
patch by Caleb Rackliffe; reviewed by Jeremiah Jordan and David Capwell for CASSANDRA-19675
2024-06-20 11:08:54 -05:00
Brandon Williams 3d878201fb Only wait until native_transport_timeout for dispatcher to finish
Patch by brandonwilliams; reviewed by maedhroz and smiklosovic for
CASSANDRA-19697
2024-06-19 06:02:06 -05:00
Brandon Williams 531de93369 Disable chronicle analytics
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19656
2024-06-11 13:10:12 -05:00
Benedict Elliott Smith 53b06453b7 Refresh stale paxos commit
patch by Benedict Elliott Smith; review by Blake Eggleston for CASSANDRA-19617
2024-06-11 15:24:57 +02:00
Benedict Elliott Smith 8c165b4cc0 Refresh stale paxos commit
patch by Benedict Elliott Smith; review by Blake Eggleston for CASSANDRA-19617
2024-06-10 18:37:08 +02:00
Stefan Miklosovic 786ba38200
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-06-10 10:53:24 +02:00
tommy stendahl a17e4fc497
Reduce info logging from automatic paxos repair
patch by Tommy Stendahl; reviewed by Stefan Miklosovic, Blake Eggleston for CASSANDRA-19445
2024-06-10 10:46:30 +02:00
samueldlightfoot 1b4f898c32
Replace Stream iteration with for-loop for StorageProxy::updateCoordinatorWriteLatencyTableMetric
patch by Samuel Lightfoot; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-19676
2024-06-06 11:37:27 +02:00
Brandon Williams 258a04a361 Ninja remove unused imports 2024-06-04 08:26:10 -05:00
Alex Petrov 617a75843c Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-31 11:24:37 +02:00
Alex Petrov dc17c29724 Add native transport deadline, an ultimate deadline for all tasks related to a specific request
* Add an ability to base _replica_ side queries on the queue time
      * Use queue time as a base for message timeouts
      * Use native transport deadline for internode messages
      * Make sure that local runnables respect transport timeouts and deadlines
      * Make sure that remote mutation handler respects message expiration times

Patch by Alex Petrov; reviewed by Caleb Rackliffe for CASSANDRA-19534
2024-05-31 11:10:58 +02:00
Maxim Muzafarov ccdeb12419 Enforce metric naming contract if scope is used in a metric name
patch by Maxim Muzafarov; reviewed by Caleb Rackliffe, Michael Semb Wever for CASSANDRA-19619
2024-05-08 19:44:51 +02:00
Brandon Williams 3b8c48024e Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-08 10:28:46 -05:00
Brandon Williams c6017aca77 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-08 10:28:12 -05:00
Raymond Huffman 057d082e00 Add option to override the FatClient timeout for Bootstrapping nodes
Patch by Raymond Huffman; reviewed by brandonwilliams and dcapwell for
CASSANDRA-15439
2024-05-07 16:32:41 -05:00
Brandon Williams 049160e70a Avoid reading of the same IndexInfo from disk many times for a large
partition when ShallowIndexedEntry is used

Patch by Dmitry Konstantinov; reviewed by bereng and brandonwilliams for
CASSANDRA-19557
2024-05-06 10:27:29 -05:00
Stefan Miklosovic 326bf4b3f5
Resolve the oldest hints just from descriptors and current writer if available
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-19600
2024-05-02 23:02:09 +02:00
Stefan Miklosovic d1101eeccc
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-02 10:43:28 +02:00
Stefan Miklosovic 85039aa8c5
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-02 10:39:28 +02:00
Stefan Miklosovic 334ca05730
Make nodetool import congruent with the documentation by not relying on the folder structure of the imported SSTable files
nodetool import requires keyspace and table on the command line to import SSTables to. This
was not always working as specifying keypace and table while having SSTables located in the
directory structure which differed on keyspace and table (dir and parent dir) just
ignored them.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19401
2024-05-02 10:32:55 +02:00
ci worker 1b1f88e38a Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-01 14:35:08 -07:00
ci worker 7c79d91b6f Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-01 14:34:02 -07:00
David Capwell c14abb40b2 IR may leak SSTables with pending repair when coming from streaming
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-19182
2024-05-01 14:32:07 -07:00
Caleb Rackliffe a9da19c311 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Make queries visible to the "system_views.queries" virtual table at the coordinator level
2024-05-01 14:41:57 -05:00
Caleb Rackliffe 428fa1f445 Make queries visible to the "system_views.queries" virtual table at the coordinator level
patch by Caleb Rackliffe; reviewed by David Capwell and Chris Lohfink for CASSANDRA-19577
2024-05-01 14:32:12 -05:00
Brandon Williams ae9be29918 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-30 17:01:23 -05:00
Chris Lohfink a6e80317de apply schema if schema digest differs
Patch by clohfink; reviewed by brandonwilliams and jwest for
CASSANDRA-19578
2024-04-30 16:59:34 -05:00
Jon Meredith 6559983d6c Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-25 14:01:41 -06:00
Jon Meredith 858a2b2321 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-25 14:00:47 -06:00
Jon Meredith 9157d98e4c Streaming exception race creates corrupt transaction log files that prevent restart
patch by Jon Meredith; reviewed by Caleb Rackliffe, David Capwell for CASSANDRA-18736
2024-04-25 13:59:59 -06:00
Stefan Miklosovic 93692a4b17
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-23 01:11:21 +02:00
Stefan Miklosovic e471a57dc2
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-23 00:51:18 +02:00
Stefan Miklosovic fba4a85b97
Fix CQL tojson timestamp output on negative timestamp values before Gregorian calendar reform in 1582
patch by Stefan Miklosovic; reviewed by Brandon Williams, Berenguer Blasi for CASSANDRA-19566
2024-04-23 00:44:37 +02:00