createCollection operations issued within the execution of movePrimary should be marked as fromMigrate: true

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 8.3.0-rc1001
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The cloner component of a movePrimary(dbName, recipientShard) request issues on the recipientShard a createCollection operation for each untracked / unsplittable collection under dbName as a way to establish the expected catalog metadata on the new primary. Such operations should nevertheless be marked as fromMigrate: true so that the generated op entries are not visible as change events through a change stream targeting one of the namespaces being transferred.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: