Define new oplog entry types to match the commit of existing Sharding DDL operations

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In order to maintain an optimal set of open connections while serving an nss/cluster.watch() request, mongos must be notified of any event that modifies the current data placement of the nss/cluster being targeted through the emission of an oplog event.

      As per today, the following Sharding DDL operations do not emit any information when committed:

      • addShard(connString, shardName)
      • enableSharding(dbName)
      • movePrimary(dbName, destinationShard)

      The objective of this ticket is defining a new oplog entry type for each aforementioned command. (Separate tickets will be created to also implement the logic to emit them).

              Assignee:
              Paolo Polato
              Reporter:
              Paolo Polato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: