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

Add Backup Webhooks to All Prysm Services With DBs #8025

Merged
merged 17 commits into from
Dec 3, 2020

Conversation

rauljordan
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?

This PR adds backup webhook functionality to all Prysm services which use boltDB and prometheus by attaching an http handler to the service's monitoring http://host:port/db/backup. It abstracts the backup handler into its own shared package and extract common flags into the shared/flags/cmd.go file.

Which issues(s) does this PR fix?

No tracking issue

@rauljordan rauljordan requested a review from a team as a code owner December 2, 2020 20:47
@rauljordan rauljordan self-assigned this Dec 2, 2020
@rauljordan rauljordan added Enhancement New feature or request Ready For Review A pull request ready for code review labels Dec 2, 2020
Copy link
Contributor

@rkapka rkapka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test that backups are not corrupted. The same set of comments apply for the validator DB.

slasher/db/kv/backup.go Outdated Show resolved Hide resolved
slasher/db/kv/backup.go Outdated Show resolved Hide resolved
slasher/db/kv/backup.go Show resolved Hide resolved
slasher/db/kv/backup_test.go Show resolved Hide resolved
@prylabs-bulldozer prylabs-bulldozer bot merged commit 14e1f08 into develop Dec 3, 2020
@delete-merged-branch delete-merged-branch bot deleted the webhook-validator-db branch December 3, 2020 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants