]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/LogMonitor: don't read list's end() for log last 16376/head
authorJoao Eduardo Luis <joao@suse.de>
Mon, 17 Jul 2017 14:41:49 +0000 (15:41 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Mon, 17 Jul 2017 14:41:49 +0000 (15:41 +0100)
commit67998dbeae8fa1046bf282ce4bd2b55229648fdf
treeb7f7f1c46db33656560447a1c3790dfb2d0516ef
parentdd61a7f7375b9c257cc45781fd0bda736a41b2ff
mon/LogMonitor: don't read list's end() for log last

We will assert semi-randomly if we read the end of the list, which is
not a real element. Instead, walk the list in reverse.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/LogMonitor.cc