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

Implement the 2-phase oplog notification in CreateCollectionCoordinator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03

    Description

      shardCollection is currently generating an op entry just after committing its metadata into the sharding catalog - and in order to guarantee at-least-once-delivery semantics, also in case of early exits after a stepdown event (1, 2).

      Nevertheless, the current properties of the DDL do not guarantee that the timestamp of the op entry will always predate the time of the first user write within the sharded collection.

      To overcome these inaccuracies, the commit may be described on the oplog through a 2-phase protocol.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: