]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/LogMonitor: do not crash on log sub w/ no messages 21469/head
authorSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 11:44:56 +0000 (06:44 -0500)
committerSage Weil <sage@redhat.com>
Tue, 17 Apr 2018 11:45:23 +0000 (06:45 -0500)
commit9cc7e451c5cbc6961cf5a12e8d7fc335ae130b71
tree01123f49c11a5825bb1116eba4c13ded8a58f7a6
parent60e8a63fdc21654d7f199a67f3f410a9e33c8134
mon/LogMonitor: do not crash on log sub w/ no messages

If sv == 0, we will fail to fetch a value and assert out.  Skip the loop
in that case.

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