Actions
Bug #73648
open
JC
JC
cephfs_mirror: update recovery from failure in ServiceDaemon
Bug #73648:
cephfs_mirror: update recovery from failure in ServiceDaemon
Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
Due date:
% Done:
0%
Source:
Development
Backport:
umbrella, tentacle, squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Description
Mirror daemon calls into the ServiceDaemon when there's a failure and updates m_filesystems with failed_count.
When the mirror daemon recovers from the failure, there's no corresponding call to the ServiceDaemon to remove the keys:
SERVICE_DAEMON_MIRROR_ENABLE_FAILED_KEY
SERVICE_DAEMON_PEER_INIT_FAILED_KEY
SERVICE_DAEMON_FAILED_DIR_COUNT_KEY
So if there's a failure, ServiceDaemon always treats it as a failure, even if it's recovered from it. This is a bug.
JC Updated by Jos Collin about 1 year ago
- Project changed from Ceph to CephFS
- ceph-qa-suite fs added
- Component(FS) cephfs-mirror added
JC Updated by Jos Collin about 1 year ago
- Assignee set to Jos Collin
JC Updated by Jos Collin about 1 year ago
For SERVICE_DAEMON_FAILED_DIR_COUNT_KEY, Mirror daemon calls into the ServiceDaemon using SERVICE_DAEMON_RECOVERED_DIR_COUNT_KEY during the recovery.
Will check the other two keys.
JC Updated by Jos Collin about 1 year ago
- Status changed from New to In Progress
- Pull request ID set to 65352
JC Updated by Jos Collin about 1 year ago
- Status changed from In Progress to Fix Under Review
JC Updated by Jos Collin about 1 year ago
- Pull request ID changed from 65352 to 66085
VS Updated by Venky Shankar about 1 year ago
- Category set to Correctness/Safety
- Target version set to v21.0.0
- Source set to Development
- Backport set to squid,tentacle
VS Updated by Venky Shankar 5 months ago
- Target version changed from v21.0.0 to v22.0.0
- Backport changed from squid,tentacle to umbrella, tentacle, squid
Actions