Bug #50442
closed
cephfs-mirror: ignore snapshots on parent directories when synchronizing snapshots
Added by Venky Shankar about 3 years ago.
Updated almost 3 years ago.
Category:
Correctness/Safety
Description
Ignore syncing snapshots starting with an underscore since they are internally used by CephFS.
Venky Shankar wrote:
Ignore syncing snapshots starting with an underscore since they are internally used by CephFS.
You mean snapshots on parent directories? Those are not "internal"?
Patrick Donnelly wrote:
Venky Shankar wrote:
Ignore syncing snapshots starting with an underscore since they are internally used by CephFS.
You mean snapshots on parent directories? Those are not "internal"?
I meant internal representation such as::
# ls /mnt/syncvol1/volumes/_nogroup/subvol1/.snap
snap1
# ls /mnt/syncvol1/volumes/_nogroup/subvol1/c961c547-b954-4df5-a935-f8f07bb620eb/.snap
_snap1_1099511627779
... and /volumes/_nogroup/subvol1/c961c547-b954-4df5-a935-f8f07bb620eb is selected for snap mirroring.
Venky Shankar wrote:
Patrick Donnelly wrote:
Venky Shankar wrote:
Ignore syncing snapshots starting with an underscore since they are internally used by CephFS.
You mean snapshots on parent directories? Those are not "internal"?
I meant internal representation such as::
[...]
... and /volumes/_nogroup/subvol1/c961c547-b954-4df5-a935-f8f07bb620eb is selected for snap mirroring.
Right but I'd rephrase the description: ignore snapshots on parent directories when considering snapshots to synchronize. Better or not?
- Subject changed from cephfs-mirror: ignore internal snapshots during synchronization to cephfs-mirror: ignore snapshots on parent directories when synchronizing snapshots
Patrick Donnelly wrote:
Venky Shankar wrote:
Patrick Donnelly wrote:
Venky Shankar wrote:
Ignore syncing snapshots starting with an underscore since they are internally used by CephFS.
You mean snapshots on parent directories? Those are not "internal"?
I meant internal representation such as::
[...]
... and /volumes/_nogroup/subvol1/c961c547-b954-4df5-a935-f8f07bb620eb is selected for snap mirroring.
Right but I'd rephrase the description: ignore snapshots on parent directories when considering snapshots to synchronize. Better or not?
spot on.
- Status changed from New to In Progress
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 40962
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #50629: pacific: cephfs-mirror: ignore snapshots on parent directories when synchronizing snapshots added
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Also available in: Atom
PDF