Feature #61863
openmds: issue a health warning with estimated time to complete replay
0%
Description
When the MDS is in up:replay, it does not give any indication to the operator when it will complete. We do have this information though. The MDS knows the end of the journal, the write position, and how quickly it's consuming (replaying) events. Issue a periodic health warning with the current completion percentage (e.g. 40% of journal read), time spent in replay, and expected time remaining.
Updated by Manish Yathnalli 10 months ago
- Status changed from New to In Progress
Updated by Venky Shankar 10 months ago
Patrick, the "MDS behind trimming" warning during up:replay is kind of expected in cases where there are lot many journal events/segments to replay. I think it makes sense to have this warning show up when the MDS is up:active and during up:replay the MDS could warn for longer replay times depending on the expected replay completion time/percentage.
Updated by Patrick Donnelly 10 months ago
Venky Shankar wrote:
Patrick, the "MDS behind trimming" warning during up:replay is kind of expected in cases where there are lot many journal events/segments to replay.
Sorry I'm not understanding where "MDS behind trimming" warning fits into this particular issue (beyond causing longer replay).
I think it makes sense to have this warning show up when the MDS is up:active and during up:replay the MDS could warn for longer replay times depending on the expected replay completion time/percentage.
If "this warning" meaning "MDS behind on trimming", I think we're on the same page.
Updated by Manish Yathnalli 8 months ago
- Status changed from In Progress to Fix Under Review
Updated by Venky Shankar 8 months ago
Manish Yathnalli wrote:
Manish, the PR id is linked in the "Pull request ID" field.
Updated by Venky Shankar 3 months ago
- Assignee changed from Manish Yathnalli to Venky Shankar
- Backport changed from reef,quincy,pacific to reef,quincy
- Pull request ID changed from 52527 to 55616
Manish, I'm taking the ownership of this one. I retained your contribution tags in the new pull request (of course!).
Updated by Patrick Donnelly 8 days ago
- Related to Feature #65637: mds: continue sending heartbeats during recovery when MDS journal is large added