Skip to content

C21563 misc cep45 bugfixes - #5017

Open
bdeggleston wants to merge 7 commits into
apache:cep-45-mutation-trackingfrom
bdeggleston:C21563-misc-cep45-bugfixes
Open

C21563 misc cep45 bugfixes#5017
bdeggleston wants to merge 7 commits into
apache:cep-45-mutation-trackingfrom
bdeggleston:C21563-misc-cep45-bugfixes

Conversation

@bdeggleston

Copy link
Copy Markdown
Member

Thanks for sending a pull request! Here are some tips if you're new here:

  • Ensure you have added or run the appropriate tests for your PR.
  • Be sure to keep the PR description updated to reflect all changes.
  • Write your PR title to summarize what this PR proposes.
  • If possible, provide a concise example to reproduce the issue for a faster review.
  • Read our contributor guidelines
  • If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:

<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

aweisberg and others added 7 commits June 3, 2026 12:54
The private ShortMutationId(int hostId, int hostLogId, int offset) ctor was being called with (hostLogId, hostId), transposing the two fields. Currently latent - no caller passes a MutationId - but the constructor is public.

Cherry-picked from aci-cassandra 09b9b05fd0.
cleanup() now wipes the mutation tracking journal directory alongside the Accord journal, and MutationJournal.start() moves after cleanupAndLeaveDirs() so the journal is not started against directories that are about to be deleted.

Cherry-picked from aci-cassandra 09b9b05fd0 and 6c206f15de.
NodetoolHelpCommandsOutputTest had 8 failures without these.

Cherry-picked from aci-cassandra e4d1296037.
The test wrote consistent data before installing the offset broadcast filter, which let the write path mark the writes reconciled and the sync coordinator complete before the topology change was observed. Write inconsistent data after the filter is in place instead.

Cherry-picked from aci-cassandra 274dc829ea. The @ignore(NO_TOPOLOGY_CHANGES) it added was removed again by 55af9fd957 once the underlying issue was fixed, so only the ignore reason constant is carried over here.
Drop MT_SYNC_RSP so the coordinator never receives sync responses, rather than pausing offset broadcasts, which no longer keeps the coordinator waiting.

Cherry-picked from aci-cassandra eff3d6de2b.
A keyspace can be dropped locally while offset broadcasts referencing it are still in flight from peers. getOrCreateShards now returns null in that case instead of failing on missing keyspace metadata, and updateReplicatedOffsets ignores the broadcast.

Cherry-picked from aci-cassandra 55af9fd957, with the null check expressed as an if/else rather than an early return, so the sync coordinator notification that follows the lock scope on this branch still runs.
IndexStreamingTest: include isWide in the parameterized test name. TrackedImportFailureTest: disable the background reconciler in importMissedActivation.

Cherry-picked from aci-cassandra bde1f1daf7 and c3789023fa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants