]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: make dup reply a louder error
authorSage Weil <sage@inktank.com>
Mon, 29 Apr 2013 17:45:31 +0000 (10:45 -0700)
committerSage Weil <sage@inktank.com>
Mon, 29 Apr 2013 17:46:04 +0000 (10:46 -0700)
If we get a dup reply something is probably wrong!  We should make sure
it appears more loudly in the log.  In particular, it can lead to out
of sync cap state; see #4853.

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc

index 52d955f45c797cb6108fac09f34a88442be3dea9..bddfa0a19968f8abf71b930c01aebfdc814ab093 100644 (file)
@@ -1684,8 +1684,8 @@ void Client::handle_client_reply(MClientReply *reply)
   bool is_safe = reply->is_safe();
 
   if (mds_requests.count(tid) == 0) {
-    ldout(cct, 10) << "handle_client_reply no pending request on tid " << tid
-            << " safe is:" << is_safe << dendl;
+    lderr(cct) << "handle_client_reply no pending request on tid " << tid
+              << " safe is:" << is_safe << dendl;
     reply->put();
     return;
   }