]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: change timecheck_* key to int
authorSage Weil <sage@redhat.com>
Thu, 24 May 2018 14:26:18 +0000 (09:26 -0500)
committerSage Weil <sage@redhat.com>
Fri, 25 May 2018 22:54:53 +0000 (17:54 -0500)
commit264807c157301c5d0e8172b7b22b5ea9806c8f08
tree2b4fef7bef09e21d1deceaa0a1ab32745adaa703
parent2bdab228492bcc71c6ff071b8fe744a2aed6b8a9
mon: change timecheck_* key to int

We don't need to use entity_inst_t here since we're only paying attention
to mons in the quorum.

This involves changing the message format.  To save some time/effort and
complexity, we only support time checks on all-nautilus.  If you are
mid-upgrade, the time sync checks are skipped.

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MTimeCheck2.h [new file with mode: 0644]
src/mon/HealthMonitor.cc
src/mon/Monitor.cc
src/mon/Monitor.h
src/msg/Message.cc
src/msg/Message.h