From: Ilya Dryomov Date: Mon, 20 Jul 2020 08:19:54 +0000 (+0200) Subject: osd/PrimaryLogPG: fix up replica read log messages X-Git-Tag: v16.1.0~1662^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F36206%2Fhead;p=ceph.git osd/PrimaryLogPG: fix up replica read log messages Add missing spaces and don't repeat oid twice. Signed-off-by: Ilya Dryomov --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index ce2227cf46a..5f857bbe65e 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -2137,15 +2137,14 @@ void PrimaryLogPG::do_op(OpRequestRef& op) if (!is_primary()) { if (!recovery_state.can_serve_replica_read(oid)) { - dout(20) << __func__ << ": oid " << oid - << " unstable write on replica, bouncing to primary." + dout(20) << __func__ + << ": unstable write on replica, bouncing to primary " << *m << dendl; osd->reply_op_error(op, -EAGAIN); return; - } else { - dout(20) << __func__ << ": serving replica read on oid" << oid - << dendl; } + dout(20) << __func__ << ": serving replica read on oid " << oid + << dendl; } int r = find_object_context(