]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrMonitor: reset mgrdigest timer with new subscription
authorSage Weil <sage@redhat.com>
Wed, 26 Jul 2017 03:30:33 +0000 (23:30 -0400)
committerSage Weil <sage@redhat.com>
Wed, 26 Jul 2017 03:30:33 +0000 (23:30 -0400)
commitdc23834f25594a94ca0da13830ea2ccb9b187c47
tree4309ba5db568f1ddfa557be0d7eb6e5ec2833444
parentf0b5900025e227fd90c2cce773a29f8944880b2a
mon/MgrMonitor: reset mgrdigest timer with new subscription

If the manager reconnects, we want to send the digest immediately and
reset the previous timer.

Fixes: http://tracker.ceph.com/issues/20633
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MgrMonitor.cc