]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix beacon condition
authorSage Weil <sage@redhat.com>
Fri, 31 Mar 2017 19:22:00 +0000 (15:22 -0400)
committerSage Weil <sage@redhat.com>
Fri, 31 Mar 2017 19:22:00 +0000 (15:22 -0400)
commit4b077463815e23cd98c81a74f8b32f8b42182700
treed3bab7f259035cdda3bfda6ca40ce7cdfaa4d705
parent574049a90b0f91c385a8ec3ed8d27363c4a34657
osd: fix beacon condition

- && should have been ||
- change this to instead not send when monmap epoch==0,
  and only set last_sent_beacon if we actually send.  That
  way we'll send on the next tick after we get a real monmap.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc