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

Add getter for index version for the sharding role

    • Fully Compatible
    • Sharding EMEA 2022-07-25, Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05

      Currently in order to obtain the collection metadata information in a shard role we use the collection metadata object which contains a chunk manager.

      We access this through the collection sharding state, so, add a new getter to obtain the index version, which should follow the value written in disk in config.shard.collections and recovered on startup, similarly to how the recoverable critical section works.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: