From f1dd56d93d96ddc5bb08728673966a5f24339e0d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 17 Nov 2011 11:56:37 -0800 Subject: [PATCH] objecter: set skipped_map if we skip a map This ensures that we resend _all_ requests, since we aren't sure which may have mapped to a different primary and then back. This was missed in the original implementation in 4fe9cca5dd63a1924be2b5cb18f542fb4b97a768. Signed-off-by: Sage Weil --- src/osdc/Objecter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 40c5a4e48c08b..8cdf5e100c7ca 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -398,6 +398,7 @@ void Objecter::handle_osd_map(MOSDMap *m) ldout(cct, 3) << "handle_osd_map missing epoch " << osdmap->get_epoch()+1 << ", jumping to " << m->get_oldest() << dendl; e = m->get_oldest() - 1; + skipped_map = true; continue; } logger->set(l_osdc_map_epoch, osdmap->get_epoch()); -- 2.39.5