summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-04-29 19:45:31 +0200
committerSage Weil <sage@inktank.com>2013-04-29 19:46:04 +0200
commit896b2777cefc47c9b621d09675dcc5f2ff7edf81 (patch)
treec779d462689834d78fd6567e199e2863f946310e
parentclient: fix session open vs mdsmap race with request kicking (diff)
downloadceph-896b2777cefc47c9b621d09675dcc5f2ff7edf81.tar.xz
ceph-896b2777cefc47c9b621d09675dcc5f2ff7edf81.zip
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 <sage@inktank.com>
-rw-r--r--src/client/Client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Client.cc b/src/client/Client.cc
index 52d955f45c7..bddfa0a1996 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;
}