Fix $lookup/$graphLookup foreign collection sharding check race condition

XMLWordPrintableJSON

    • Query Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $lookup (and $graphLookup on resolution of SERVER-27308) perform a check to confirm that the foreign collection is not sharded, prior to each foreign collection query. This check is done within a lock that is released prior to query execution, introducing a potential race condition where the foreign collection could be sharded before the query is executed.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              James Wahlin
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: