-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
If operations are running in a background thread, the user is not prompted to kill them when they ctrl-c the shell.
Aaron-Staples-MacBook-Pro:mongo10 aaron$ ./mongo
MongoDB shell version: 2.1.1-pre-
connecting to: test
> db.c.save( {} )
> t = fork( function() { db.c.count( { $where:function() { while( 1 ); } } ) } );
{
"init" : function () { [native code] },
"start" : function () { [native code] },
"join" : function () { [native code] },
"returnData" : function () { [native code] }
}
> t.start()
connecting to: test
> ^C
bye
- related to
-
SERVER-5485 implement thread safety for shell utils, using fine grained locking
-
- Closed
-