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

Define "Read Concern" and include it in query requests #2

Open
tock-ibm opened this issue Jun 7, 2021 · 0 comments
Open

Define "Read Concern" and include it in query requests #2

tock-ibm opened this issue Jun 7, 2021 · 0 comments

Comments

@tock-ibm
Copy link
Contributor

tock-ibm commented Jun 7, 2021

A read concern specifies if a read must go to the leader or it can go to a follower.

ANY - any server can answer.
LEADER - only the leader can answer.
QUORUM - do consensus on a read as well - stretch goal - implement in another task.

If this is not defined the server will answer reads from the first server hit and will not redirect requests - as in ANY.

If it is specified as "Leader" and the server is a follower it will redirect the request to leader.

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

No branches or pull requests

1 participant