[DOCS-13283] Investigate changes in SERVER-37364: Allow transactions that use two-phase commit to respect lower writeConcern than majority Created: 11/Dec/19  Updated: 13/Nov/23  Resolved: 23/Feb/21

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

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jason Price
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-37364 Coordinator should return the decisio... Closed
Participants:
Days since reply: 2 years, 50 weeks, 1 day ago
Epic Link: DOCSP-9747
Story Points: 2

 Description   

Description

Downstream Change Summary

Prior to this ticket, commitTransaction for a sharded transaction waited for the commitment to complete on all participant shards before returning to the client. After this ticket, commitTransaction will return to the client as soon as the commit decision is persisted with the user's requested writeConcern. This behavior can be configured via the server parameter "coordinateCommitReturnImmediatelyAfterPersistingDecision". 

Note that some component writes will still be performed with writeConcern
Unknown macro: {w}. 

Description of Linked Ticket

As a first step, coordinateCommit will wait for commit to complete entirely before returning to the client. As an optimization (this ticket), we should return to the client as soon as the commit decision is persisted, in which case the decision may roll back after being reported to the client.

Note, the decision will still be uniform across all two-phase commit participants.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 23/Feb/21 ]

Author:

{'name': 'Jason Price', 'email': 'jason.price@mongodb.com', 'username': 'jason-price-mongodb'}

Message: DOCS-13283 Two phase commit use lower write concern
Branch: v5.0
https://github.com/mongodb/docs/commit/2539e4c257e5ad665be5c688512e8f212c745d70

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