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

Some UNSHARDED router paths do not attach DB version

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL

      There are certain code paths which lead to buildUnshardedRequestsForAllShards with the expectation that this call will attach the UNSHARDED version to the collection. However, because [{{appendShardVersion}}|] doesn't modify its input parameter, they end up without the UNSHARDED version attached and appear to the shards as if they come from a direct connection.

      This violates the sharding protocol and may lead to bugs that are hard to predict or diagnose.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: