- 
    Type:Improvement 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Aggregation Framework
- 
    None
- 
        Fully Compatible
- 
        v3.4
- 
        Query 2017-01-23
- 
        0
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
_mongod->isSharded() is called with every DocumentSourceLookUp::getNext() call. This call is expensive as it acquires a lock via AutoGetCollectionForRead.
- is related to
- 
                    SERVER-27616 Fix $lookup/$graphLookup foreign collection sharding check race condition -         
- Backlog
 
-         
- 
                    SERVER-24960 Shard may not realize that collection is already sharded after restart -         
- Closed
 
-