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

sharding metadata command should make sure that ShardRegistry is up to date

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: 3.7.2
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-04-09
    • 15

      ... before accessing it.

      For example, shardCollection makes sure that there are shards to put the new sharded collection. It is possible that the shard already exists in storage but not yet loaded to the ShardRegistry, so it can mistakenly think that no shard exists.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: