apple / apple/foundationdb

Don't create empty backup log files

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

Description

When running a backup, if the version of a cluster is dramatically increased (say via `fdbcli advanceversion`), there will be many versions for which no mutations are created. With `BACKUP_MAX_LOG_RANGES=20` and a version jump of 20 trillion versions, this can mean a million new empty log files are created, which takes a long time. The backup agents should be able to recognize that a version range contains no mutations, and avoid creating unnecessary empty log files.

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.