Some UNSHARDED router paths do not attach DB version

XMLWordPrintableJSON

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

      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
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: