Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49824

Add destined recipient to oplog entries from deletes

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

      • 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:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: