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

Emit an oplog entry from an existing shard when a new database is added to the config catalog

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03

      When a database gets added to the config catalog (through explicit/implicit db creation, or as the consequence of invoking addShard() on a replica set with existing user data) an event should be registered in the oplog of other shards of the cluster to ensure that mongos processes will eventually be notified.

      The purpose of this ticket is to implement the command introduced in SERVER-71754 so that its recipient will emit the oplog entry type introduced in SERVER-71621 on each invocation.

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

              Created:
              Updated:
              Resolved: