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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2019-10-21

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cheahuychou.mao Cheahuychou Mao
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: