]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Revert "mon/OSDMonitor: send_to_waiting() in on_active()"
authorSage Weil <sage@inktank.com>
Fri, 19 Jul 2013 23:39:47 +0000 (16:39 -0700)
committerSage Weil <sage@inktank.com>
Fri, 19 Jul 2013 23:39:47 +0000 (16:39 -0700)
commit6edec516bf82f2c6d622a5485a4eca7b0959d3d7
tree173cb4235b9f7beac5f59845e2a0836886af62f3
parent2795eb123231dc0227bf76a47ae0bd8b48f3da5e
Revert "mon/OSDMonitor: send_to_waiting() in on_active()"

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>
src/mon/OSDMonitor.cc