[SERVER-59186] [API] Use internal transaction API for changing a document's shard key logic Created: 09/Aug/21  Updated: 29/Oct/23  Resolved: 28/Feb/22

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

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

Issue Links:
Depends
depends on SERVER-58760 [API] Make internal transaction API s... Closed
is depended on by SERVER-60532 [Upgrade/downgrade] Make mongos fallb... Backlog
is depended on by SERVER-58762 Add a concurrency workload that runs ... Closed
is depended on by SERVER-59566 Retry and timeout policy for internal... Closed
Issue split
split to SERVER-62080 Make read and write concern configura... Closed
split to SERVER-62516 Return commit result from internal tr... Closed
split to SERVER-62519 Internal transaction API should abort... Closed
split to SERVER-63364 Use transaction API to handle WCOS er... Closed
split to SERVER-63366 Basic retryability support for findAn... Closed
split to SERVER-63746 Handle client session case for transa... Closed
split to SERVER-63747 Handle client retryable write case on... Closed
Problem/Incident
Related
related to SERVER-64052 Implement unstash for TransactionRouter Closed
related to SERVER-64070 Clean up startTransaction handling fo... Closed
related to SERVER-64540 Add feature flag just for using txn A... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-12-13, Sharding 2021-12-27, Sharding 2022-01-10, Sharding 2022-01-24, Sharding 2022-02-07, Sharding 2022-02-21, Sharding 2022-03-07
Participants:
Linked BF Score: 9
Story Points: 8

 Description   
  • Make mongos use internal transaction API for handling WouldChangeOwningShard errors (only for FCV 6.0)
    • Support handling the errors for all session option configurations and batch size
  • ** Handle unordered/ordered batch writes-


 Comments   
Comment by Githook User [ 28/Feb/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-59186 Use transaction API for all current changing a document's shard key logic
Branch: master
https://github.com/mongodb/mongo/commit/b17dfaaec98f63c16d05c9f76768df98be78699e

Comment by Jack Mulrow [ 14/Dec/21 ]

As part of this ticket, we should change the InternalSessionPool to construct its sessions based on the logged in user, not the __system user, which it currently uses for all sessions.

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