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

CT - Blobber Recovery using Backup Snapshot #3178

Closed
devyetii opened this issue Mar 6, 2024 · 0 comments
Closed

CT - Blobber Recovery using Backup Snapshot #3178

devyetii opened this issue Mar 6, 2024 · 0 comments
Assignees

Comments

@devyetii
Copy link
Collaborator

devyetii commented Mar 6, 2024

Test Description
Check that the blobber can regain ability to gain rewards and act normally after crashing and reviving empty (with all data cleaned) by restoring its data from a historical Backup Snapshot of the data directory.

Test Scenario

Similar to node-recovery-2 test (Blobber/Validator Node Recovery). Changes are:

  • Need to take historical backup of the data & files directory of the blobber before it's dropped (for example: tar -czvf blobber-data-1.tar.gz ./docker.local/blobber1/data & tar -czvf blobber-files-1.tar.gz ./docker.local/blobber1/files), then wait for some time before dropping the blobber.
  • Need to clean all the data/files of the blobber after it's dropped (for example: rm -rf ./docker.local/blobber1/data & rm -rf ./docker.local/blobber1/files).
  • Need to restore the backup before reviving the blobber (for example: tar -xzvf blobber-data-1.tar.gz -C ./docker.local/blobber1/data & tar -xzvf blobber-files-1.tar.gz -C ./docker.local/blobber1/files.

Comment/DM if anything is unclear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants