From: Sage Weil Date: Mon, 19 May 2008 22:06:30 +0000 (-0700) Subject: osd: clear hml X-Git-Tag: v0.3~209^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=335bc04dbd53a3bbb204370d217bf491bb825a8d;p=ceph.git osd: clear hml --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index fd79c1963fcf..ba2e5dc9f0ee 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1668,7 +1668,8 @@ void OSD::advance_map(ObjectStore::Transaction& t) } else { // i am now replica|stray. we need to send a notify. pg->state_set(PG_STATE_STRAY); - + pg->have_master_log = false; + if (nrep == 0) { // did they all shut down cleanly? bool clean = true;