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

Stop sending init form of setShardVersion

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.4
    • Sharding
    • Fully Compatible
    • Sharding 2017-01-02, Sharding 2017-02-13

    Description

      In addition, mongos now needs to start sending setShardVersion (0,0) before sending requests to unsharded collections, otherwise, the connection will never have ShardedConnectionInfo and no version checking will take place for that connection. In other words, if the collection was actually sharded, the shard will not throw a stale shard version exception.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: