move logic for marking orphan documents out of logOplogInserts

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-03-20, Execution Team 2023-04-03
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When we write oplog entries for insert operations, we have to identify any orphan documents in the operations and override the default fromMigrate setting accordingly.

      The corresponding logic for overriding the fromMigrate setting happens in the query stages for deletes and updates above the OpObserver layer, so it would be consistent to evaluate this setting for inserts outside the OpObserver framework.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: