Bug #1389
closedre-created snapshot gets removed by mds journal replay
0%
Description
Say you enter a snapshot pseudo-dir then run:
mkdir test
rmdir test
mkdir test
then restart the mds, and run:
ls
you'll find see test isn't there any more. Oops.
now, doing something like:
mkdir test
touch ..
touch -r test ..
rmdir test
mkdir test
works (i.e., after restarting the mds the directory is still there), presumably because we're now binding the snapshot name to a different version of the directory.
Changes to files within the snapshotted directory appear to suffice to get the snapshot to survive an mds restart as well.
Updated by Sage Weil over 12 years ago
- Target version set to v0.34
Is this with the kernel or fuse client?
Updated by Alexandre Oliva over 12 years ago
I'm pretty sure I got it with both, before I understood why my snapshots were disappearing. Once I did, I only tested the procedure on an otherwise quiescent 0.32 cluster using the kernel (2.6.38) client.
Updated by Sage Weil over 12 years ago
- Category set to 1
- Status changed from New to Resolved
fixed by commit:d60d5319ad5d6674488cab96b4a452ff553e779b
Updated by John Spray over 7 years ago
- Project changed from Ceph to CephFS
- Category deleted (
1) - Target version deleted (
v0.34)
Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.