We call object_contexts.clear() in ReplicatedPG::on_change
Change-Id: I705c72378ebe2ccc424b070cd775329041932e75
Signed-off-by: Dong Yuan <yuandong1222@gmail.com>
hit_set_clear();
}
+ // we don't trust the object_contexts cache anymore
+ object_contexts.clear();
+
// requeue everything in the reverse order they should be
// reexamined.
-
clear_scrub_reserved();
scrub_clear_state();
}
hit_set_setup();
agent_setup();
- if (get_role() !=0) {
- object_contexts.clear();
- }
}
// clear state. called on recovery completion AND cancellation.