- 
    Type:Bug 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Concurrency
- 
        Fully Compatible
- 
        ALL
- 
        
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
When performing insert operations between findAndModify commands, a findAndModify will eventually fail to find a document to update, even though the query predicate remains the same. This failure only seems to occur when a sort specification is supplied.
git version
a6788ec72a9dabb38bd92a8ab653e32034e9e02e
- is related to
- 
                    SERVER-15715 find_and_modify appears to be taking a DB_X lock -         
- Closed
 
-         
- 
                    SERVER-16063 Rewrite findAndModify -         
- Closed
 
-