apple / apple/foundationdb

Snapshots taken while backup agents are running cause bad behaviour when restored

Open
#3,873 2 comments 0 reactions 1 assignee Claimed by @sfc-gh-jfu View on GitHub
backup-restore
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Regular backups do not restore the /xff keyspace, while snapshots do. The consequence of this is that the cluster restored by a snapshot will have its backup (and DR) ranges filled in (located in the /xff keyspace), which are present when a backup agent is active. If a backup agent is then started in the new cluster, it will read from the backup ranges and spawn tasks according to the old data. This can cause corruption of data and/or crashes in the new cluster.

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.