Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.1.2
-
None
-
ALL
Description
When concurrently running "mongotop" and "mongotop --locks", "mongotop --locks" shows much lower lock times than "mongotop" throughout the insertion run. I would also expect that the "." to sum to total for all dbs.
Test:
for (i = 0; i < 1000000; i++) { db.top.insert({x:i}); }
|
mongotop --locks:
dan:(git)mongo[master]/$ ./mongotop --locks
|
connected to: 127.0.0.1
|
|
|
ns total read write 2012-07-01T03:52:11
|
foo 665ms 0ms 665ms
|
. 219ms 15ms 204ms
|
test 0ms 0ms 0ms
|
local 0ms 0ms 0ms
|
mongotop:
dan:(git)mongo[master]/$ ./mongotop
|
connected to: 127.0.0.1
|
|
|
ns total read write 2012-07-01T03:52:11
|
foo.top 223ms 0ms 223ms
|
admin. 1ms 1ms 0ms
|
dan2.system.namespaces 0ms 0ms 0ms
|