[SERVER-66359] Add the "Internal Transactions" section to the sharding architecture guide Created: 10/May/22  Updated: 29/Oct/23  Resolved: 07/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from SERVER-55346 Architecture Guide updates for Runnin... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-05-16, Sharding NYC 2022-05-30, Sharding NYC 2022-06-13, Sharding 2022-06-27, Sharding 2022-07-11
Participants:

 Description   

The section should cover the following:

  • Non-retryable internal transactions
  • Retryable internal transactions
    • How retryablity works
      • The “stmtId”, “preImageOpTime”, “postImageOpTime”, “needsRetryImage” fields in the inner oplog entries inside each applyOps oplog entry.
      • How each retryable write statement generates only one operation entry with its stmtId; any other operation entries have stmtId=-1.
      • How each internal session can only have one retryable findAndModify. 
        refreshFromStorageIfNeeded() and RetryableTransactionParticipantCatalog.
      • How concurrent retries are prevented (i.e. RetryableTransactionInProgress).
    • Session migration during chunk migration and resharding
      • Retryability contract.
      • How retryable internal transaction oplog entries are converted to retryable write oplog entries.


 Comments   
Comment by Githook User [ 07/Jul/22 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-66359 Add the "Internal Transactions" section to the sharding architecture guide
Branch: master
https://github.com/mongodb/mongo/commit/adcd52319933d187fc2070c521feddccc8e48cd2

Generated at Thu Feb 08 06:05:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.