[SERVER-58757] [Retryability] Create partial index for config.transactions on parentLsid Created: 22/Jul/21  Updated: 29/Oct/23  Resolved: 13/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

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

Issue Links:
Depends
is depended on by SERVER-62020 [Retryability] Make retryable write s... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-11-15
Participants:
Story Points: 2

 Description   
  • Add a parentLsid field to config.transactions entries for retryable internal transactions that stores the parent lsid of the internal session.
  • Create a partial index for config.transactions on {parentLsid: 1, _id.txnNumber: 1, _id: 1} with partialFilterExpression {parentLsid: {$exists: true}}.


 Comments   
Comment by Githook User [ 05/Nov/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-58757 Create partial index for config.transactions on parentLsid
Branch: master
https://github.com/mongodb/mongo/commit/b8b166aeff4b1511ec286b0f2ca370f1972b1414

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