MongoInterfaceStandalone::isSharded should not use AutoGetCollectionForReadCommand

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2018-10-22, Query 2018-11-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The AutoGetCollectionForReadCommand helper will automatically check that the shard version attached to the operation context matches the version of the namespace in question - this only makes sense when there is a single involved namespace.

      We've actually seen this bug before, and made this change as part of preliminary work for sharded $lookup. Unfortunately, this change was reverted. This part of the change should be revived.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: