Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
SERVER-23168 fix shell crashes on ctrl+c
Previously, unauthenticated shell connections would crash the shell on ctrl+c, and any connections to mongos would crash the shell on ctrl+c. Check for currentOp failures and add checks for mongos-specific currentOp results to fix this. Closes #1104. Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com> - Log a warning if the "client" field in the currentOp response isn't a string instead of throwing an exception.
- Loading branch information
Showing
1 changed file
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters