apple / apple/foundationdb

Preventing deletion of a backup that is being actively written to

Open
#1,794 1 comment 0 reactions 1 assignee Claimed by @satherton View on GitHub
operations
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

If someone has a cluster that is running a continuous backup, and they run a delete command on that backup, the delete command will erase both the existing data and the metadata that tells the list command that the backup exists. This can lead to the cluster continuing to write data into a backup that is no longer visible through the list command, effectively orphaning the backup. I think we should add a safety check to prevent deleting an active backup without providing a force flag.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.