-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Kyle K's suggestions #2794
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
Kyle K's suggestions #2794
Conversation
prior to the start of the read operation. Linearizable read | ||
concern returns data that cannot be rolled back. You can specify | ||
concern returns data that will never be rolled back. You can specify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Eric --
just wanted to double check. Given that we now state that possibly, writes issued with "w: majority" write concern could roll back, is the above still true? Wasn't sure what the mechanics behind linearizable reads are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do we say w:majority write concern writes could roll back? I'll check everything for continuity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right. The Note applies to this blurb about linearizable reads as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could I then tweak to:
For replica sets that run with writeConcernMajorityJournalDefault set to true, linearizable read concern returns data that will never be rolled back.
With writeConcernMajorityJournalDefault set to false, MongoDB will not wait for w: "majority" writes to be durable before acknowledging the writes. As such, "majority" write operations could possibly roll back in the event of a loss of a replica set member.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect.
merged! |
* DOCSP-28023 Sharding Note (#2752) * DOCSP-28023 Adds note to config server setup * Adds note to auth YAML * Fixes per Jeff * Fixes per Jeff * DOCSP-28854 Fixes build error (#2798)
This change is