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

Only expose safely stored data to reads #52400

Open
ywelsch opened this issue Feb 17, 2020 · 1 comment
Open

Only expose safely stored data to reads #52400

ywelsch opened this issue Feb 17, 2020 · 1 comment
Labels
:Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. resiliency Team:Distributed Meta label for distributed team (obsolete)

Comments

@ywelsch
Copy link
Contributor

ywelsch commented Feb 17, 2020

Dirty reads happen when an operation is returning results based on data that has not yet made it fully into the system (for example has only been indexed on the primary, but hasn't made it yet to the replicas, which means that if the primary fails, the data might be lost and the previously returned result would be incorrect). Eliminating dirty reads means that the user will never see data that has not been safely stored on all in-sync shard copies, i.e. the user will only see data that has made it fully into the system, and that the system will never henceforth silently lose nor revert.

Dirty reads affect the get, search, as well as indexing (CAS & update) APIs, and are documented in the Elasticsearch reference docs.

This issue is a place holder for addressing dirty reads on the three above-mentioned APIs.

Relates #20031

@ywelsch ywelsch added resiliency :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Feb 17, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Distributed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. resiliency Team:Distributed Meta label for distributed team (obsolete)
Projects
None yet
Development

No branches or pull requests

3 participants