Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DB Backup More Efficient #8543

Merged
merged 6 commits into from
Mar 3, 2021
Merged

Make DB Backup More Efficient #8543

merged 6 commits into from
Mar 3, 2021

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Mar 2, 2021

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

  • Allows a beacon node to take a live backup without killing the main node.
  • Breaks up the backup process to multiple writes for each key in a bucket, allowing a node
    to have a lower memory footprint at the cost of making backups longer. This prevents long running read
    transactions which Bolt doesn't handle well.

Which issues(s) does this PR fix?

Resolves #8486 partially

Other notes for review

@nisdas nisdas marked this pull request as ready for review March 3, 2021 10:02
@nisdas nisdas requested a review from a team as a code owner March 3, 2021 10:02
@nisdas nisdas added the Ready For Review A pull request ready for code review label Mar 3, 2021
@prylabs-bulldozer prylabs-bulldozer bot merged commit 565d510 into develop Mar 3, 2021
@delete-merged-branch delete-merged-branch bot deleted the makeBackupBetter branch March 3, 2021 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database Backups Leads To High Memory Usage
2 participants