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

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

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

      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@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: