]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: fix spurious PG health messages on mgr restart
authorJohn Spray <john.spray@redhat.com>
Thu, 22 Jun 2017 21:41:35 +0000 (17:41 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:52:03 +0000 (12:52 -0400)
commitd260368e5be2f261bbc15ffa055aac301d7e6159
tree3e010e9f8fcfd57247c52976487a9047789582ad
parent0c8a1d3940096f667faf716ae9245921e1011842
mgr: fix spurious PG health messages on mgr restart

Previously, the mgr would send MMonMgrReport indicating
a very unhappy PGMap to the mon right after startup.

This is a change to hold off on sending that report until
all the OSDs have reported in, or until some time has passed.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h