extend OpObserver::aboutToDelete() to accept collection UUID

XMLWordPrintableJSON

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

      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
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: