Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2020-10-05, Sharding 2020-10-19
Description
- Add a decoration on OperationContext (similar to documentKeyDecoration) for the destined recipient.
- Emplace the decoration with the result of getDestinedRecipient() in OpObserverImpl::aboutToDelete().
- Call MutableOplogEntry::setReshardDest() with the value emplaced in the decoration in MutableOplogEntry::makeDeleteOperation(). (for transactions)
- Call MutableOplogEntry::setReshardDest() with the value emplaced in the decoration in replLogDelete(). (for non-transactions)
Attachments
Issue Links
- has to be done after
-
SERVER-49820 Allow setting destined recipient in oplog entries
-
- Closed
-
-
SERVER-49821 Define utility function for getting recipient which would own document under new shard key
-
- Closed
-