setShardVersion failed host: 127.0.0.1:30004 { errmsg: "exception: remote client 127.0.0.1:40881 tried to initialize this host (127.0.0.1:30004) as shard shard0040, but shard name was previously initial...", code: 13298, ok: 0.0 }

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      First, I remove some shards(shard0020 - 99) which don't contain any data with command `sh.removeShardTag("shard0020-99", "tag1")` and `db.runCommand(

      {removeShard: "shard0020-99"}

      )`.
      Second, I add some shards(shard0020-69) and add shard tag.
      Then mongos log print the content as the title.

            Assignee:
            Sam Kleinman (Inactive)
            Reporter:
            Dnv.IytH
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: