From 7b5d8e8c37b12baf158e878c38563a714117e1ec Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Fri, 22 Jun 2012 10:12:26 -0700 Subject: [PATCH] ReplicatedPG: on_activate for a peer might happen before flush We don't ensure for a peer that the flush completes before activation, merely that we don't serve any ops until flush completes. Signed-off-by: Samuel Just --- src/osd/ReplicatedPG.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index a71f359dd6bdf..996d4a553390a 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -5691,8 +5691,6 @@ void ReplicatedPG::on_shutdown() void ReplicatedPG::on_activate() { - assert(object_contexts.empty()); - for (unsigned i = 1; i