Actions
Bug #10791
closedceph mds deactivate sometimes fails silently
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I suspect this is due to the targeted MDS sending a beacon at the same moment as the deactivate, which flips the pending_mdsmap state back from stopping into active.
Happens fairly frequently when doing a "ceph mds set max_mds 1; ceph mds deactivate 1" on a 2-mds vstart cluster.
Files
Updated by Greg Farnum about 9 years ago
- Status changed from New to In Progress
- Assignee set to Greg Farnum
Yep, that's a pretty clear race in the source.
Updated by Greg Farnum about 9 years ago
- Status changed from In Progress to Fix Under Review
I think what we really want to do is have the state_seq go in both directions and force the MDS to acknowledge the transition to STATE_STOPPING before we accept any new beacons from them, but that's not really feasible in the Hammer timeframe. So here's a patch that just doesn't allow any transitions except to stopping: https://github.com/ceph/ceph/pull/3683
Updated by Greg Farnum about 9 years ago
- Status changed from Fix Under Review to Resolved
Actions