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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • 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

    Description

      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.

      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: