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

move logic for marking orphan documents out of logOplogInserts

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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: