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

Ensure that shardCollection emits an oplog event on commit time at least once in case of step-down

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.4, 6.3.0-rc0
    • Affects Version/s: 6.0.0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2, v6.0
    • Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12

      SERVER-61887 introduced the insertion of an oplog entry into the CreateCollectionCoordinator when the DDL operation gets committed into the config server: nevertheless, if the _commit() function gets interrupted by a stepdown event just before or during the execution of notifyChangeStreamsOnShardCollection(), it is possible to complete shardCollection() without ever emitting such oplog entry.

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

              Created:
              Updated:
              Resolved: