Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASSANDRA-19514: When jvm-dtest shuts down have TCM stop retry messages. Fix a bug where replace with same instance doesnt trigger tcm notification #3227

Closed
wants to merge 134 commits into from

Conversation

dcapwell
Copy link
Contributor

@dcapwell dcapwell commented Apr 2, 2024

No description provided.

bdeggleston and others added 30 commits March 26, 2024 11:37
patch by Blake Eggleston; reviewed by Benedict Elliott Smith, David Capwell for CASSANDRA-17103
…an rely on a version column, and fixed a few feedback related issues

patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-17103
The replication of transactions and their processing state must be optimal, i.e. linearly proportional to the size of the transaction and the number of keys involved. This patch ensures a transaction is replicated in slices, with each slice being written (replication factor) times only to the shard that owns the keys, and only once (except in the case the transaction is recovered).

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-17109
Ensure old or abandoned transactions are invalidated wherever possible.

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-18041
…ce dedicated property tests; re-activate fast-path during range movements

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-18056
 - Integrate accord-core changes for CASSANDRA-18057

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-18057
  - Integrate accord-core changes for CASSANDRA-18087

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-18087
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-17719

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: David Capwell <dcapwell@apache.org>
…ng IN clauses to return multiple partitions/rows

patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-18154
patch by Benedict; reviewed by Aleksey Yeschenko for CASSANDRA-18142
 - Combine real and logical into a single 64-but HLC
 - Introduce 16 flag bits
 - Pack epoch (48-bits), HLC (64-bits) and flags (16-bits) into two longs in memory

patch by Benedict; reviewed by Aleksey Yeschenko for CASSANDRA-18172
patch by Ariel Weisberg; Reviewed by Caleb Rackliffe for CASSANDRA-18100
…and clustering IN clauses to return multiple partitions/rows
Refactor Deps into KeyDeps and RangeDeps

patch by Benedict; reviewed by Aleksey Yeschenko for CASSANDRA-18173
patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-18174
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-18195
…iles .BRANCH and .REPO do not have a license, causing the build to fail; exclude rat when building accord

patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-18214
…rom the dependency builder

patch by Benedict; reviewed by Caleb Rackliffe for CASSANDRA-18218
patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-18135
patch by <jacek-lewandowski>; reviewed by <maedhroz> and <dcapwell> for CASSANDRA-18241
patch by David Capwell; reviewed by Caleb Rackliffe, Michael Semb Wever for CASSANDRA-18204
…ative paths during development

patch by David Capwell; reviewed by Caleb Rackliffe, Michael Semb Wever for CASSANDRA-18204
patch by Jacek Lewandowski; reviewed by Caleb Rackliffe for CASSANDRA-18240
patch by David Capwell; reviewed by Alex Petrov, Caleb Rackliffe, Jacek Lewandowski for CASSANDRA-18299
Patch by Blake Eggleston; Reviewed by David Capwell & Benedict Elliott Smith for CASSANDRA-18004
Patch by Blake Eggleston; Reviewed by David Capwell and Benedict Elliott Smith for Cassandra-18192
…n merging to mainline

patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-18309
…ce RandomSource

patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-18213
belliottsmith and others added 27 commits March 27, 2024 11:16
Co-authored-by: Ariel Weisberg <aweisberg@apple.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Introduce a special kind of non-durable read that provides only per-key linearizable isolation; i.e. strict-serializable isolation for single partition-key reads.
This read creates only a happens-before edge, by collecting dependencies for execution and ensuring that execution happens strictly after these dependencies
have executed, but at no precise time otherwise. So later writes may be witnessed, and if multiple keys are read they may represents different points in time.

patch by Benedict; reviewed by Ariel Weisberg for CASSANDRA-19305
…endency elision

patch by Benedict; reviewed by Aleksey Yeshchenko for CASSANDRA-19310
Patch by Blake Eggleston; Reviewed by Ariel Wesberg for CASSANDRA-19016
patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-19355
…d uses the sync point empty txn for reads

patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-19503
…es. Fix a bug where replace with same instance doesnt trigger tcm notification
Copy link
Member

@bdeggleston bdeggleston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants