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

always set fromMigrate in OpObserverImpl::onCreateIndexes and onCreateCollection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2023-03-20

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: