From 335bc04dbd53a3bbb204370d217bf491bb825a8d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 19 May 2008 15:06:30 -0700 Subject: [PATCH] osd: clear hml --- src/osd/OSD.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index fd79c1963fcf3..ba2e5dc9f0eee 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; -- 2.39.5