]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: refetch active object before defaulting to new tag
authorJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 12:33:03 +0000 (08:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 14:01:38 +0000 (10:01 -0400)
commit3cf8952559e2ac43487d2e347e1041722ee1ecd9
tree91e241329565dc4f90148b8f3826c836bf759347
parent167ddd6b6e277878a44f25104c41915b4d0dbf99
journal: refetch active object before defaulting to new tag

If a live replay is in progress, it's possible that object offset 0
was pulled and a new tag is discovered before the current object is
(re-)pulled to determine that the old tag still has entries remaining.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/journal/JournalPlayer.cc
src/journal/JournalPlayer.h