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

MongoInterfaceStandalone::isSharded should not use AutoGetCollectionForReadCommand

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

      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@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: