From: Sage Weil Date: Mon, 19 Oct 2009 18:36:58 +0000 (-0700) Subject: objecter: call renew_subs when appropriate X-Git-Tag: v0.17~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c73c666d137eb1a0a553d9a6f0218aa40bf89e8d;p=ceph.git objecter: call renew_subs when appropriate Otherwise our sub_want call doesn't nothing until the next subscription renewal goes out --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index 355001675999..70d390339ed9 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(); } }