Actions
Bug #17259
closedmultimds: ranks >= max_mds may be assigned after reducing max_mds
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
multimds
Component(FS):
MDSMonitor
Labels (FS):
multimds
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I'm not sure if this is really a problem or not but I noticed in:
http://pulpito.ceph.com/pdonnell-2016-09-10_15:15:29-multimds:thrash-master---basic-mira/408387
We can have a sequence:
max_mds 9 -> 8
deactivate rank 7 (mds.b)
kill rank 8 (mds.d)
mds.b comes back and is assigned rank 8 (not 7!)
As long as max_mds is not exceeded, maybe this isn't an issue. There may be assumptions in the code that assume `rank < max_mds`?
I'm also wondering if it's possible that rank 8 is replaced regardless of max_mds. I'm checking that possibility by adding standbys to a new test run:
http://pulpito.ceph.com/pdonnell-2016-09-11_17:59:46-multimds:thrash-master---basic-mira/
Actions