Project

General

Profile

Feature #8869

MDS: support standby-replay on old-format journals

Added by Greg Farnum about 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/18/2014
Due date:
% 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 about 5 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 about 5 years ago

  • Status changed from New to Need Review

#2 Updated by John Spray about 5 years ago

  • Status changed from Need Review to Resolved

#3 Updated by Greg Farnum about 3 years ago

  • Component(FS) MDS added

Also available in: Atom PDF