]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/LogMonitor: simplify summary logic
authorSage Weil <sage@redhat.com>
Thu, 12 Apr 2018 18:40:41 +0000 (13:40 -0500)
committerSage Weil <sage@redhat.com>
Thu, 12 Apr 2018 21:07:20 +0000 (16:07 -0500)
commitbd59d1ca5321a8828266246d94da2c03f8412f9d
tree089ba5d1228e95c6461d07a0b389502ae761a460
parent1de07533129dd933a65987b0a300db40af25040d
mon/LogMonitor: simplify summary logic

Instead of sending the last 1 message, send from the last committed
segment.

This may be >1 entry, which is a bit odd, but otherwise the behavior is
similar.  Note that since the channel filtering is happening on the
client this may mean a higher chance of getting something visible at
all.

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