-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.1.0
-
Component/s: JavaScript
-
None
-
ALL
git commit version: ab60e77554527f22626d050fe6b01ee44fb55e01
Error message error appears for every line executed if --nodb is passed to the mongo shell, which is annoying (this was message doesn't appear before):
Wed Apr 11 12:29:40 ReferenceError: db is not defined src/mongo/shell/utils.js:1192
replSetMemberStatePrompt = function() { var state = ''; var stateInfo = db.getSiblingDB( 'admin' ).runCommand( { replSetGetStatus:1, forShell:1 } ); // <-- line 1192 in my build
- related to
-
SERVER-5485 implement thread safety for shell utils, using fine grained locking
- Closed