As part of normal find command execution we first build up a batch of results and then we proceed to create a client cursor.
However, SERVER-84574 made it so the execution of endQueryOp may now throw an error due to an attempt to acquire the global lock which is still held at this point by the caller. This causes the entire execution to fail even if we've already processed everything for the user and are just doing some curop accounting.
- is related to
-
SERVER-90158 Find command may save plans that are holding locks on error
- Closed