From 35d5c74df3e16f0eb2117ad058aec92fb8889bd2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 18 Dec 2008 11:49:42 -0800 Subject: [PATCH] osd: clear_prior when activating This just ensures that, once active, an osd state change affecting our prior_set won't make us repeer. E.g., a prior going down. --- src/osd/PG.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 32e093f27bc..c51f75fce2b 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1279,6 +1279,9 @@ void PG::activate(ObjectStore::Transaction& t, need_up_thru = false; + // clear prior set (and dependency info)... we are done peering! + clear_prior(); + // write pg info, log write_info(t); write_log(t); -- 2.47.3