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

[WIP] pass token ring view with mutations/reads, and verify #606

Draft
wants to merge 1 commit into
base: palantir-cassandra-2.2.18
Choose a base branch
from

Conversation

rhuffy
Copy link
Contributor

@rhuffy rhuffy commented Jan 24, 2025

It is possible for nodes to have inconsistent views of the token ring, and still accept reads/writes.

Previously, we introduced InvalidMutations, where a node would check if it owned a token before applying the mutation. However, that implementation fails when the receiving node itself has an incorrect view of the ring.

This PR attempts to address these cases by including the coordinator's view of the ring in Mutation and Read Messages. When handling these verbs, nodes now validate that they have the same view of the ring as the coordinator.

@rhuffy rhuffy changed the title pass token ring view with mutations/reads, and verify [WIP] pass token ring view with mutations/reads, and verify Jan 24, 2025
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.

1 participant