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

Implement the 2-phase oplog notification in CreateCollectionCoordinator

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03

      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.

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

              Created:
              Updated:
              Resolved: