diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-10-01 13:40:37 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-10-01 13:41:18 -0400 |
commit | 9eb2e8c2baa1f3a8a248a5b49c948f3e4e701a3d (patch) | |
tree | 2879dae744a3597ff0c682b3dfa35f3845288e80 /client | |
parent | a6b0eee2c0632e326ec1929d28be1645ee94d455 (diff) | |
download | mongo-9eb2e8c2baa1f3a8a248a5b49c948f3e4e701a3d.tar.gz |
better error message on distlock
Diffstat (limited to 'client')
-rw-r--r-- | client/distlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/distlock.cpp b/client/distlock.cpp index be45034cbf8..11516b196c5 100644 --- a/client/distlock.cpp +++ b/client/distlock.cpp @@ -154,7 +154,7 @@ namespace mongo { BSONObj lastPing = conn->findOne( lockPingNS , o["process"].wrap( "_id" ) ); if ( lastPing.isEmpty() ){ // TODO: maybe this should clear, not sure yet - log() << "lastPing is empty! this could be bad: " << o << endl; + log() << "config.locks: " << _name << " lastPing is empty! this could be bad: " << o << endl; conn.done(); return false; } |