Bug #11504
closedCephFS restriction on removing cache tiers is overly strict
0%
Description
We prevent removing any cache tier that sits on a cephfs pool, even if the tier has been safely set to 'forward' and flushed.
We should permit removal of the tier if it is set to forward and PGMonitor statistics indicate that it is empty.
Updated by John Spray almost 9 years ago
- Source changed from other to Community (user)
Updated by Greg Farnum almost 9 years ago
Mmm, the thing to be careful of here is that we can't remove cache tiers if they're over an EC pool. That whole saga is presumably why the code is overly-restrictive to begin with.
Updated by John Spray almost 9 years ago
Oh yeah, now I remember why we added it :-)
So the condition for permitting removal is that it's set to forward or readonly, it's flushed, and the underlying pool is usable by cephfs (i.e. replicated)
Updated by John Spray almost 9 years ago
- Status changed from New to Fix Under Review
- Regression set to No
Updated by Greg Farnum almost 9 years ago
- Status changed from Fix Under Review to Resolved
commit:5a3da7b891bf18e0f164352dd0010c7969233d72
Updated by Greg Farnum over 8 years ago
- Status changed from Resolved to Pending Backport
- Priority changed from Normal to Low
Let's put this in hammer please! We seem to be getting a lot more experimental users lately. :)
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13621: CephFS restriction on removing cache tiers is overly strict added
Updated by Loïc Dachary over 8 years ago
- Status changed from Pending Backport to Resolved