Commit Graph

56 Commits

Author SHA1 Message Date
Blake Eggleston f01cbb1dd7 rebase - fix Mutation tracking journal integration, read, and write path 2026-04-13 10:09:43 -07:00
Abe Ratnofsky 06e7dee9f8 CEP-45: Full Repair Support for Tracked Keyspaces
Tracked keyspaces cannot accept new data without first registering it in
the log. Any unreconciled data that isn't present in the log will break
read monotonicity, since mutation tracking uses a single data read and
can only read reconcile mutation IDs that are present in the log.

Full repair sync tasks also deliver data to replicas, and require
integration with the log just like imports do. The general design of this
integration is to give repair SyncTasks the same two-phase commit as
import transfers, where we stream SSTables to a pending directory, then
once sufficient streams complete successfully, we "activate" those
streams and move them out of the pending directory and into the live set.

patch by Caleb Rackliffe; reviewed by Abe Ratnofsky for CASSANDRA-21066

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Abe Ratnofsky <abe@aber.io>
2026-04-09 16:46:37 -07:00
David Capwell f87c22cbbd Rebase fixup: SerializationsTest needed to recreate the service.SyncComplete.bin file 2025-04-17 11:59:51 -07:00
Ariel Weisberg c10c84b9cd Accord/non-Accord interoperability and support for live migration
Patch by Ariel Weisberg; Reviewed by Blake Eggleston for CASSANDRA-18129

Co-authored-by: Blake Eggleston <beggleston@apple.com>
2025-04-17 11:59:49 -07: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
Sam Tunnicliffe 2c00371088 Push down repair tokens and partitioner through paxos repair
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-19714
2024-07-10 14:16:23 +01:00
Sam Tunnicliffe 51d048a93a Add cluster metadata id to gossip syn messages
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for
CASSANDRA-19613
2024-05-03 09:21:10 +01:00
Sam Tunnicliffe 728b9ec4c6 Revisit metadata log schema to remove period field
Patch by Sam Tunnicliffe and Marcus Eriksson; reviewed by Alex Petrov for CASSANDRA-19482

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2024-04-11 09:06:36 +01:00
Alex Petrov e182744cd0 Introduce 5.1 messaging format that brings in Epoch
Patch by Alex Petrov; reviewed by Sam Tunnicliffe CASSANDRA-19066.
2023-12-01 13:02:33 +01:00
Bereng 1adbea5a06 Extend maximum expiration date
patch by Berenguer Blasi; reviewed by Andrés de la Peña for CASSANDRA-14227
2023-06-05 07:18:34 +02:00
Mick Semb Wever 7ca806c60a
Change trunk from 4.2 to 5.0
– update MessagingService (remove the 4.1 version that was only a placeholder in test code bc serialisation test files were previously incorrectly serialising random UUIds for TimeUUIDs)
 – update upgrade jvm-dtests
 – remove older serialization binary files we are no longer testing against

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17973
2023-03-07 11:03:38 +01:00
Benedict Elliott Smith d2923275e3 CEP-14: Paxos Improvements
This work encompasses a range of improvements to Paxos, summarised as:

 - The introduction of Paxos Repair for ensuring consistency during range movements
 - The reduction of network round-trips by a factor of 2x for reads and writes

patch by Benedict Elliott Smith and Blake Eggleston; reviewed by Alex Petrov, Aleksey Yeschenko and Sam Tunnicliffe for CASSANDRA-17164
2022-03-10 16:30:12 +00:00
Marcus Eriksson 22abff779d Optimised repair streaming improvements
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-16274
2020-12-01 12:39:25 +01:00
Aleksey Yeschenko f9ff884377 Untangle RepairMessage sub-hierarchy of messages, use new messaging (more) correctly
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-15163
2019-09-20 15:52:19 -07:00
Benedict Elliott Smith 310a48efcf Rewrite the internode messaging subsystem
patch by Aleksey Yeschenko and Benedict Elliott Smith; reviewed by Alex
Petrov, Aleksey Yeschenko, and Benedict Elliott Smith for CASSANDRA-15066

Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-06-12 16:26:54 +01:00
Ariel Weisberg 59b5b6bef0 Allow storage port to be configurable per node
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-7544
2018-01-25 14:32:24 -05:00
Jay Zhuang d6cc594325 New Bloomfilter format without changing the byte ordering
patch by Jay Zhuang; reviewed by jasobrown for CASSANDRA-9067
2018-01-19 06:40:50 -08:00
Blake Eggleston 4cfaf855c4 Add repair streaming preview
Patch by Blake Eggleston; Reviewed by Marcus Eriksson for CASSANDRA-13257
2017-04-24 09:21:33 -07:00
Marcus Olsson 0dd50a6cdc Repair common subranges of a set of nodes in one session
reviewed by Stefania Alborghetti for CASSANDRA-5220
2015-08-06 08:23:20 -05:00
Robert Stupp 582ef4b3eb ninja-fix missing test file 2015-07-05 23:45:40 +07:00
Robert Stupp 23fd75f27c Bloom filter false positive ratio is not honoured
patch by Robert Stupp, reviewed by Benedict Elliott-Smith for CASSANDRA-8413
2015-07-05 22:14:36 +07:00
Marcus Eriksson b75ed1c34b Add missing files 2014-02-08 13:22:13 +01:00
Yuki Morishita 29d5dd03ae Fix serialization test 2014-01-14 20:23:35 -06:00
Sylvain Lebresne 362cc05352 Push composites support in the storage engine
patch by slebresne; reviewed by benedict for CASSANDRA-5417
2013-12-17 17:03:21 +01:00
Jonathan Ellis 36cdf34bd9 Remove multithreaded compaction and PCR
patch by jbellis; reviewed by marcuse for CASSANDRA-6142
2013-10-30 10:17:23 -05:00
Aleksey Yeschenko bffd9ea8eb Upgrade Thrift to 0.9.1
patch by Carl Yeksigian and Jake Farrell; reviewed by Aleksey Yeschenko
for CASSANDRA-5923
2013-08-30 02:57:12 +03:00
Jake Luciani 815b2382a3 Switch from crc32 to adler32 for compressed sstable checksumns
and change to checksum the post-compressed data

Patch by tjake; reviewed by jbellis for (CASSANDRA-5862)
2013-08-08 17:23:57 -04:00
Vijay Parthasarathy 4f2fdc2e73 Fix trigger directory detection code
Patch by Vijay, reviewed by jebllis for CASSANDRA-5826
2013-08-03 11:21:07 -07:00
Sylvain Lebresne daff1fce0f Cleanup AbstractType/TypeSerializer classes
patch by slebresne; reviewed by carlyeks for CASSANDRA-5744
2013-07-12 15:25:48 +02:00
Vijay Parthasarathy db4da73e58 Save EC2Snitch topology information in system table - take 2
patch by Vijay; reviewed by Jason Brown for CASSANDRA-5171
2013-07-09 19:08:42 -07:00
Sylvain Lebresne a607ee0773 Update messages for serializations tests 2013-06-25 19:31:56 +02:00
Yuki Morishita eb4fa4a621 Redesign repair messages
patch by yukim; reviewed by slebresne for CASSANDRA-5426
2013-06-25 18:48:59 +02:00
Aleksey Yeschenko 1f7628ce7c Include a timestamp with all read commands to determine column expiration
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-5149
2013-06-18 19:15:02 +03:00
Jonathan Ellis 42a39b5d64 simplify de-tombstoning of columns for pre-collated results 2013-05-15 18:03:49 -05:00
Jonathan Ellis 7f2c3a8e40 Removed compatibility with pre-1.2.5 sstables and network messages
patch by jbellis; reviewed by marcuse for CASSANDRA-5511
2013-04-26 13:17:39 -05:00
Jonathan Ellis c48acd9e6e merge from 1.2 2013-04-23 13:11:25 -05:00
Vijay Parthasarathy 7a6fbc1b22 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	src/java/org/apache/cassandra/db/ColumnFamily.java
	src/java/org/apache/cassandra/db/RowIndexEntry.java
2013-04-16 18:42:53 -07:00
Jonathan Ellis 8ce9edf040 fix SerializationsTest 2013-04-11 21:31:27 -05:00
Marcus Eriksson efbdee2370 Decide on a gcBefore before sending out TreeRequests
patch by marcuse, reviewed by yukim, for CASSANDRA-4932
2013-04-09 08:08:32 +02:00
Sylvain Lebresne 3a005df397 Replace supercolumns internally by composites
patch by slebresne; reviewed by Vijay for CASSANDRA-3237
2013-01-02 13:40:13 +01:00
Yuki Morishita 92f33391e0 update test data for SerializationsTest 2012-11-21 17:34:28 -06:00
Yuki Morishita 901a54a6d6 change stream session ID from (host, counter) to TimeUUID; patch by yukim reviewed by Michael Kjellman for CASSANDRA-4813 2012-11-13 16:18:07 -06:00
Vijay Parthasarathy 0525ae25f8 log related to Murmur3Partitioner
patch by vijay; reviewed by Pavel Yaskevich for CASSANDRA-4282
2012-08-29 18:02:57 -07:00
Sylvain Lebresne b3ca94bdbf Regenerate serialized messages 2012-07-16 18:40:35 +02:00
Sylvain Lebresne d1171ddc10 Support multiple ranges in SliceQueryFilter
patch by dr-alves and slebresne; reviewed by vijay, dr-alves and slebresne for CASSANDRA-3885
2012-06-18 17:21:56 +02:00
Yuki Morishita 21aef92905 directly stream compressed sstable with java nio. patch by yukim,
reveiwed by jbellis for CASSANDRA-4297
2012-06-13 12:24:43 -05:00
Pavel Yaskevich 267690a140 fix Summary component and caches to use correct partitioner
patch by Sam Tunnicliffe and Pavel Yaskevich; reviewed by Pavel Yaskevich for CASSANDRA-4289
2012-06-01 18:52:46 +03:00
Pavel Yaskevich 90170d1594 Avoid ID conflicts from concurrent schema changes
patch by Pavel Yaskevich; reviewed by Sylvain Lebresne for CASSANDRA-3794
2012-05-29 13:19:20 +03:00
Jonathan Ellis cbd68650bd regenerate serialization test data 2012-05-21 15:48:38 -05:00
Yuki Morishita 29d97dc2ab Test fixes 2012-05-21 15:48:37 -05:00