ListSnapshots has destructive side effect: deletes local snapshots not in remote #15
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/vaultik#15
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
snapshot.goListSnapshots(), listing snapshots silently deletes local snapshot records that are not found in remote storage:A list/read operation should not have destructive side effects. This sync behavior should be a separate explicit operation (e.g.
vaultik sync), or at minimum clearly documented and logged prominently.Ref: parent issue #1