From 896b2777cefc47c9b621d09675dcc5f2ff7edf81 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 29 Apr 2013 10:45:31 -0700 Subject: [PATCH] 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 --- src/client/Client.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 52d955f45c797..bddfa0a19968f 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; } -- 2.39.5