Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
MDSMonitor: handle damaged from standby-replay
This change does a few things: - if a state transition is invalid or a beacon is garbage, the MDSMonitor now evicts the MDS instead of ignoring the problem. - standby state validation is moved to prepare_beacon where eviction can happen. - standby-replay may indicate the rank is damaged (failure to replay the journal). - if the rank is damaged, both the rank holder and standby-replay daemon (if any) will be removed. Fixes: https://tracker.ceph.com/issues/52565 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
- Loading branch information
Showing
4 changed files
with
77 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters