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

Mongos ismaster should return valid wire version range across all shards

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None

    Description

      Currently, drivers determine cluster capabilities based on the mongos ismaster result. When the mongos has a different version than one or more shards, drivers can issue commands based on the mongos reported wire protocol version that will fail when distributed to shards that don't support it.

      If a mongos ismaster synthesized wire versions across shards and returned the lowest maxWireVersion and highest minWireVersion between itself and the primary of each shard, that would allow drivers to limit operations to things that will succeed when distributed to shards.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: