]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: handle replaying old format journals
authorJohn Spray <john.spray@redhat.com>
Tue, 22 Jul 2014 01:08:08 +0000 (02:08 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 29 Jul 2014 21:32:43 +0000 (22:32 +0100)
commitc283ad4ba581fb30a7f191fc1493d1cbdbbce50d
tree8b763fdf5411ac3241efb9a7642398aff9335a44
parent07665ec4b333bb41ec81c477b50e5fcba52890f2
mds: handle replaying old format journals

To get back to the reformatting procedure that otherwise
occurs during MDLog::open, introduce an MDLog::reopen call
that MDS can use in the standbyreplay->standby transition
for the special case where the journal is old.

Fixes: #8869
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDLog.cc
src/mds/MDLog.h
src/mds/MDS.cc