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

always set fromMigrate in OpObserverImpl::onCreateIndexes and onCreateCollection

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

      logMutableOplogEntry current ignores fromMigrate for createIndexes and createCollection operations that are in a multi-document transaction. This is slightly inconsistent with the fromMigrate treatment in some other OpObserver methods such as onDelete.

      This change is effectively a no-op for the multi-document transaction case because we don't current use these operations for chunk migration in transactions.

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

              Created:
              Updated:
              Resolved: