From: Sage Weil Date: Mon, 29 Apr 2013 17:45:31 +0000 (-0700) Subject: client: make dup reply a louder error X-Git-Tag: v0.61~47^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=896b2777cefc47c9b621d09675dcc5f2ff7edf81;p=ceph.git client: make dup reply a louder error 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 --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 52d955f45c79..bddfa0a19968 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -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; }