]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/HealthMonitor: do not send MMonHealthChecks to pre-luminous mon 22655/head
authorSage Weil <sage@redhat.com>
Wed, 20 Jun 2018 21:48:45 +0000 (16:48 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Jul 2018 21:44:05 +0000 (16:44 -0500)
commitf0a5c6351c391d4dc9324b9bdc4f7a72f2bc8117
tree954a9dfcd60d2a92841a7f7f1a2fc6ef39fe69fa
parent64b144fca147a4893b4c0aa60efc11c9d5eb5c3e
mon/HealthMonitor: do not send MMonHealthChecks to pre-luminous mon

During upgrade, we start doing the new health check code, but if we are
not the leader we can't send the new MMonHealthChecks message to the leader
or else it will crash.

This fix goes directly into the luminous branch since post-luminous code
does not have this compatibility issue.

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