Project

General

Profile

Feature #8869

MDS: support standby-replay on old-format journals

Added by Greg Farnum over 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

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.

Associated revisions

Revision c283ad4b (diff)
Added by John Spray over 9 years ago

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 <>

History

#1 Updated by John Spray over 9 years ago

  • Status changed from New to Fix Under Review

#2 Updated by John Spray over 9 years ago

  • Status changed from Fix Under Review to Resolved

#3 Updated by Greg Farnum over 7 years ago

  • Component(FS) MDS added

Also available in: Atom PDF