]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: update commit entry object number upon overflow
authorJason Dillaman <dillaman@redhat.com>
Mon, 23 May 2016 16:15:49 +0000 (12:15 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 24 May 2016 16:58:55 +0000 (12:58 -0400)
commit5fbf5f82de8214c5c676d38feae7682a006fcab1
treeedcefbeae2aec90c5b21c1ac1ed68236801b0f62
parentff2cc27ae592646b495bf1b614d35bd50c091a3d
journal: update commit entry object number upon overflow

Otherwise the recorded object positions might point to an older
object that doesn't contain the actual entry.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/journal/JournalMetadata.cc
src/journal/JournalMetadata.h
src/journal/JournalRecorder.cc
src/test/journal/test_JournalRecorder.cc