Skip to content

[FIX] Improve user and mailbox renaming#3065

Open
chibenwa wants to merge 12 commits into
apache:masterfrom
chibenwa:rename-consistency
Open

[FIX] Improve user and mailbox renaming#3065
chibenwa wants to merge 12 commits into
apache:masterfrom
chibenwa:rename-consistency

Conversation

@chibenwa

@chibenwa chibenwa commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Disclaimer: This work had been assisted with AI, namely:

  • Help (a bit) assist the audit
  • Help with rebarbative work
  • Automate test suite running
  • Help review and improve the code

However I did invest significant amount of time doing the initial implems then refined with AI.

chibenwa added 2 commits June 17, 2026 09:47
Improve overall atomicity

Please note that we do not address TOCTOU races.
We also do not need serial for destination mailbix as it is gated by an idempotent DELETE...IF NOT EXIST
@chibenwa chibenwa marked this pull request as ready for review June 17, 2026 08:03
@chibenwa

Copy link
Copy Markdown
Contributor Author

Please note that achieving linearisability of a cross partition, multi-table operation is impossible with classic LWTs.

To achieve such kind of level of consistency, ACCORD (CEP-15) delivered G.A in Cassandra 6.0 is needed.

In the meantime the proposed version is likely amongst the "least bad options".

@chibenwa

Copy link
Copy Markdown
Contributor Author

Edit: I will add a last commit - as an admin I want to have an automated way to recover all type of inconsistencies... Proceeding with merges if need be.

@Arsnael Arsnael left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@chibenwa chibenwa force-pushed the rename-consistency branch from c66f6d0 to b0d6c04 Compare June 17, 2026 13:03
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.

3 participants