Add destined recipient to oplog entries from deletes

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-10-05, Sharding 2020-10-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      • 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)

            Assignee:
            Alexander Taskov (Inactive)
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: