[DOCS-13288] Document that sharded transactions always perform some majority writes Created: 11/Dec/19  Updated: 30/Oct/23  Resolved: 11/Jun/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-44638 j:false is ignored in startTransactio... Closed
is related to SERVER-37364 Coordinator should return the decisio... Closed
Participants:
Days since reply: 3 years, 34 weeks, 6 days ago
Epic Link: DOCSP-1769

 Description   

Description

We document here that sharded transactions are not allowed with writeConcernMajorityJournalDefault:false. I think it's also important to specify that regardless of the user's requested writeConcern, commitTransaction for a sharded transaction must perform some component writes with writeConcern {w: "majority", j: true. If we don't specify this, users may be confused as to why running commitTransaction with a weaker writeConcern doesn't significantly speed up their sharded transactions.

(Additionally, until SERVER-37364 is complete, there is no behavior difference for weaker writeConcerns, but I don't think we need to document this.)

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Kay Kim (Inactive) [ 11/Jun/20 ]

Forgot to close

Comment by Githook User [ 11/Feb/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13288: sharded txn commit includes components that use w:majority
Branch: v4.2
https://github.com/mongodb/docs/commit/9371eb4528dbea94471c9f0c234d157a10c4486d

Comment by Githook User [ 22/Jan/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13288: sharded txn commit includes components that use w:majority
Branch: v4.2
https://github.com/mongodb/docs/commit/9371eb4528dbea94471c9f0c234d157a10c4486d

Comment by Githook User [ 22/Jan/20 ]

Author:

{'email': 'kay.kim@10gen.com', 'username': 'kay-kim', 'name': 'Kay Kim'}

Message: DOCS-13288: sharded txn commit includes components that use w:majority
Branch: master
https://github.com/mongodb/docs/commit/235d1b2fb27c213d37d19a449e77b12d926a7443

Generated at Thu Feb 08 08:07:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.