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

Add a way for getShardVersion on mongos to return the full cached chunk distribution for a collection

    • Fully Compatible
    • Sharding 2019-10-21

      Currently, the mongos version of getShardVersion (which returns mongos's routing table cache entry for a collection or a database) returns the collection version (the highest version of any chunk in the collection out of the chunks present in the cache entry) and logs the chunks.

      It is much more useful for the command to return the chunks (instead of only logging them), similarly to how the shard version of getShardVersion (which returns the shard's filtering table entry for a collection) does.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: