]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: close, advance, and open object set ordering
authorJason Dillaman <dillaman@redhat.com>
Sat, 14 May 2016 22:58:41 +0000 (18:58 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 20 May 2016 00:29:00 +0000 (20:29 -0400)
commit18f663d834edd03b42e2c08b9428e72fdc6bae9d
tree62f1cbd673edd557eae198a0f994d3385d0b8f7c
parent27fba6ad7e7cb566d32c6e63f35aff966fc60bd7
journal: close, advance, and open object set ordering

Flush in-flight appends to open objects before advancing the
active object set.  Additionally, don't start recording to the
new objects until after advancing the active set.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit de830057d0f7286914e019540c6263423cb60428)
src/journal/JournalRecorder.cc
src/journal/JournalRecorder.h