Actions
Bug #55
closedosd: fix transition from snaps -> no snaps -> snaps
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
After filestore btrfs snaps = 1 -> 0, we may have leftover snap dirs. Later, if we turn them back on again, we'll roll back to a horribly ancient state.
Updated by Sage Weil almost 14 years ago
- Target version changed from v0.21 to v0.22
Updated by Sage Weil over 13 years ago
- Target version changed from v0.22 to v0.23
Updated by Sage Weil over 13 years ago
I think all we need to do is look at current/commit_op_seq. If it is greater than the newest snap, than that snap is stale, because someone went and committed to current/.
An optional arg --osd-use-stale-snap bool would override that. That way you could still manually roll back to an older snap (by, say, deleting/renaming the newest) if you needed to for some reason.
Updated by Yehuda Sadeh over 13 years ago
- Status changed from New to Resolved
Fixed with c1d078160a454c92fea899659d506e0b0ab7d92b.
Updated by Sage Weil over 13 years ago
- Translation missing: en.field_position deleted (
317) - Translation missing: en.field_position set to 183
Actions