The old implementation of DBCommandCursor used when running the shell with --readMode compatibility calls getConnection(which checks if the connection has been closed) to construct a DBClientCursor which it passes to setCursor. The new variant used with --readMode command calls setCursorHandle with the cursor ID. This new variant doesn't check if the connection has been closed.
- is duplicated by
-
SERVER-33050 Shell SIGSEGV in mongo::mozjs::CursorHandleInfo::finalize
- Closed