From c73c666d137eb1a0a553d9a6f0218aa40bf89e8d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 19 Oct 2009 11:36:58 -0700 Subject: [PATCH] objecter: call renew_subs when appropriate Otherwise our sub_want call doesn't nothing until the next subscription renewal goes out --- src/osdc/Objecter.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 3550016759998..70d390339ed9c 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -141,6 +141,7 @@ void Objecter::handle_osd_map(MOSDMap *m) else { dout(3) << "handle_osd_map requesting missing epoch " << osdmap->get_epoch()+1 << dendl; monc->sub_want_onetime("osdmap", osdmap->get_epoch()); + monc->renew_subs(); break; } @@ -173,6 +174,7 @@ void Objecter::handle_osd_map(MOSDMap *m) } else { dout(3) << "handle_osd_map hmm, i want a full map, requesting" << dendl; monc->sub_want_onetime("osdmap", 0); + monc->renew_subs(); } } -- 2.39.5