MDS: support standby-replay on old-format journals
Right now if we see an old-format journal and we're in standby-replay, we just hang around waiting for it to be converted. We should instead handle the old format. The chief stumbling block there is converting it to the new format if we get promoted to active.
Or maybe this just isn't worth it, but let's evaluate.
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.
Signed-off-by: John Spray <firstname.lastname@example.org>
#2 Updated by John Spray about 5 years ago
- Status changed from Need Review to Resolved
This merged a couple of weeks ago in https://github.com/ceph/ceph/commit/440c820cce2c262570ab78e352bed8a630d41be5