]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: don't enqueue periodic digest if one is already waiting
authorJohn Spray <john.spray@redhat.com>
Sun, 5 Mar 2017 15:38:36 +0000 (10:38 -0500)
committerKefu Chai <kchai@redhat.com>
Sun, 30 Apr 2017 02:21:29 +0000 (10:21 +0800)
commitf68ad16e86f5abaedc9261aa09250d75fe372e31
treebc0910cf07ff6aa2cb8327997eb57379c7629486
parent64e36c5f8082afbb98cbd911b8fb526ab6568b6b
mon: don't enqueue periodic digest if one is already waiting

This was causing mons to send far more digest messages than
should have been sent.  Could have been responsible for
reports of very high CPU consumption on the mgr daemon.

Fixes: http://tracker.ceph.com/issues/18994
Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MgrMonitor.cc