Project

General

Profile

Actions

Bug #73648

open
JC JC

cephfs_mirror: update recovery from failure in ServiceDaemon

Bug #73648: cephfs_mirror: update recovery from failure in ServiceDaemon

Added by Jos Collin about 1 year ago. Updated 5 months ago.

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 Actions #1

  • 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 Actions #2

  • Assignee set to Jos Collin

JC Updated by Jos Collin about 1 year ago Actions #3

@Venky Shankar

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 Actions #4

  • Status changed from New to In Progress
  • Pull request ID set to 65352

JC Updated by Jos Collin about 1 year ago Actions #5

  • Status changed from In Progress to Fix Under Review

JC Updated by Jos Collin about 1 year ago Actions #6

  • Pull request ID changed from 65352 to 66085

VS Updated by Venky Shankar about 1 year ago Actions #7

  • 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 Actions #8

  • Target version changed from v21.0.0 to v22.0.0
  • Backport changed from squid,tentacle to umbrella, tentacle, squid
Actions

Also available in: PDF Atom