Bug #6279
closedcreating a new fs on pools from an old fs can lead to lost MDS Tables
0%
Description
See the thread at http://www.mail-archive.com/ceph-users@lists.ceph.com/msg03918.html
If you delete your FS (but not the data pools), then create a new FS on the same pools, the MDS client IDs are repeated. This means that if you haven't started recycling ops in the PG log, the OSDs will incorrectly return success on writes without doing anything. This can lead to eg not having a snaptable on disk, because the MDS tries to write out the initial one and the OSD says "I already have that tid, and the op succeeded" and short-circuits.
The best solution I've come up with so far is to somehow add an FS generation number to the MDS entity/invocation stuff, but I don't like having to maintain or steal that number in the Monitors...
Updated by Zheng Yan over 10 years ago
- Status changed from New to 12
Updated by Zheng Yan over 10 years ago
- Status changed from 12 to Fix Under Review
Updated by Greg Farnum over 10 years ago
- Status changed from Fix Under Review to Resolved
Merged in commit:a41aa9468f4c8dd92604c20e015904ac75f1e746.
Thanks!
Updated by Greg Farnum over 10 years ago
- Status changed from Resolved to Pending Backport
- Backport set to dumpling
Updated by Greg Farnum over 10 years ago
- Status changed from Pending Backport to Resolved
Oh, this is already backported, commit:bd073eeac28d8cba969e5746c5e6adcb95820fdf