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

extend OpObserver::aboutToDelete() to accept collection UUID

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2021-11-29

      The OpObserver::aboutToDelete() callback was added in SERVER-21382 to support sharding migration enhancements. It currently accepts a collection NamespaceString and a snapshot of the document that will be removed. It would be useful for OpObserver::aboutToDelete() implementations to have access to the UUID and make this function more consistent with the other CRUD-related callbacks (onInserts(), onUpdate(), and onDelete()).

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: