This reverts commit
f06a124a7fa0717ef8c523408b31d814df57caca.
On peons, on_active() is only called when we *first* become active after an
election. Only on the leader is it called after each commit/update. This
makes this change cause other problems (broken subscriptions on peons, in
particular). We possibly should fix that, but there is also a simpler fix
for the original problem we were trying to solve.
Signed-off-by: Sage Weil <sage@inktank.com>
mon->pgmon()->check_osd_map(osdmap.epoch);
}
- update_logger();
+ send_to_waiting();
+ check_subs();
+
share_map_with_random_osd();
+ update_logger();
+
process_failures();
// make sure our feature bits reflect the latest map
{
update_logger();
- send_to_waiting();
- check_subs();
-
if (thrash_map && thrash())
propose_pending();
{
dout(7) << "_reply_map " << e
<< " from " << m->get_orig_source_inst()
- << " for " << m
<< dendl;
send_latest(m, e);
}