always set fromMigrate in OpObserverImpl::onCreateIndexes and onCreateCollection

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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

                Created:
                Updated:
                Resolved: