Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix active in curop

  • Loading branch information...
commit 10d2d10f7f3e04f1f6eae7467137bb127458b9ee 1 parent b82b1a1
@erh erh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  db/client.cpp
View
2  db/client.cpp
@@ -390,7 +390,7 @@ namespace mongo {
BSONObj CurOp::infoNoauth() {
BSONObjBuilder b;
b.append("opid", _opNum);
- bool a = _active && _start;
+ bool a = _active && ( _start || _waitingForLock );
b.append("active", a);
if ( _lockType )
b.append("lockType" , _lockType > 0 ? "write" : "read" );
Please sign in to comment.
Something went wrong with that request. Please try again.