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

Disallow movePrimary on databases owning collections being resharded

    • Sharding EMEA

      Given a database, provide a way to check if a resharding operation is ongoing for an owned collection: this can be achievable by adding a field to DatabaseType.

      In v5.0, only one resharding operation is expected to be executed in the whole cluster. However, it would be nice to provide a counter - instead of a simple flag - in order to already prepare metadata for the future.

      The counter in config.databases entries is expected to keep track of the number of resharding operations and it should be incremented here and decremented here

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: