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

docs: Issue on page Consistency Level Calculator #18606

Open
bhalevy opened this issue May 9, 2024 · 2 comments
Open

docs: Issue on page Consistency Level Calculator #18606

bhalevy opened this issue May 9, 2024 · 2 comments
Assignees
Labels
type/documentation Requires documentation

Comments

@bhalevy
Copy link
Member

bhalevy commented May 9, 2024

I would like to report an issue on page https://opensource.docs.scylladb.com/branch-5.4/cql/consistency-calculator

Problem

How is it possible that e.g, with Nodes=3, RF=3,

  • READ_CL=QUORUM, WRITE_CL=QUORUM guarantees consistent reads, while
  • READ_CL=ALL, WRITE_CL=QUORUM guarantees only eventually consistent reads?

It is true that the later has lower availability since losing a node will return an error, but a successful read will always be consistent.

Suggest a fix

READ_CL=ALL should always guarantee consistent reads for any WRITE_CL != ANY

@bhalevy bhalevy added the type/documentation Requires documentation label May 9, 2024
@bhalevy
Copy link
Member Author

bhalevy commented May 9, 2024

@tgrabiec am I hallucinating? :)

@tgrabiec
Copy link
Contributor

I think you're right, {READ_CL=ALL, WRITE_CL=QUORUM} should be consistent, since the read set always overlaps with any past write set.

@tzach tzach assigned tzach and unassigned tzach May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/documentation Requires documentation
Projects
None yet
Development

No branches or pull requests

3 participants