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

The commit of createCollection should not generate op entries related to shardCollection

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • CAR Team 2023-12-25

    Description

      SERVER-81188 introduced a common execution path for the createCollection and shardCollection user requests through the CreateCollectionCoordinator, which includes logic (based on the notifyChangeStreamsOnShardCollection method) that generated no-op entries on the oplog of the primary shard when the request is committed.

      Nevertheless, such op entries are only meant to serve the shardCollection path - and should not be generated under different scenarios.

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: