From: Sage Weil Date: Wed, 30 May 2012 03:41:38 +0000 (-0700) Subject: osd: fix misdirected op check X-Git-Tag: v0.48argonaut~155^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5842dcdadb24ca305bcd62d29a143ae998c5115d;p=ceph.git osd: fix misdirected op check The sense of this check was wrong from the get-go, back in a5d99add. Fix it. This may be silencing a lot of misdirected op noise! Signed-off-by: Sage Weil --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index c25d5e01468..17182df5524 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -5307,7 +5307,7 @@ void OSD::handle_op(OpRequestRef op) } // okay, we aren't valid now; check send epoch - if (m->get_map_epoch() >= superblock.oldest_map) { + if (m->get_map_epoch() < superblock.oldest_map) { dout(7) << "don't have sender's osdmap; assuming it was valid and that client will resend" << dendl; return; }