- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Aggregation Framework
- 
        Fully Compatible
- 
        ALL
- 
        v3.4
- 
        Query 2017-09-11, Query 2017-10-02, Query 2017-10-23
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
If it held the _seenPaths in a std::set() rather than a vector, it could check for prefix issues in O(N*logN) time. It may also be possible to use a StringMap to do it in O(N).
- is duplicated by
- 
                    SERVER-30633 Large performance regression for large aggregation queries -         
- Closed
 
-