Skip to content

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

Closed
wants to merge 1 commit into from
Closed

Kyle K's suggestions #2794

wants to merge 1 commit into from

Conversation

milkie
Copy link
Member

@milkie milkie commented Dec 1, 2016

This change is Reviewable

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
Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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.

Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect.

@kay-kim
Copy link
Contributor

kay-kim commented Dec 2, 2016

merged!

@kay-kim kay-kim closed this Dec 2, 2016
@milkie milkie deleted the milkie-patch-5 branch February 13, 2018 14:37
mongo-cr-bot pushed a commit that referenced this pull request Mar 28, 2023
* 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)
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.

2 participants