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

Add destined recipient to oplog entries from deletes

    XMLWordPrintable

Details

    • 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

          Activity

            People

              alex.taskov@mongodb.com Alexander Taskov (Inactive)
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: