linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.74k stars 275 forks source link

[DR] Debug branch #2796

Closed snalli closed 2 months ago

snalli commented 3 months ago

THIS WILL NOT COMPILE UNLESS YOU EDIT IT AS REQUIRED.

This patch helps debug the backup-checker-app to rule out any bugs in the code or debug any issues in the backup.

To use this patch, pull it, rebase on master. Apply your changes, if any. Compile and copy the necessary jar files on to the backup-checker hosts.

Usecases:

  1. Restoring a selected partition

If you wish to recover a particular partition from cloud and run checker on it, you can do so with this patch.

  1. Re-using restored partition from local-disk Once the backup has been restored, you'd want to use the copy in the local-disk of the backup-checker host and re-run checker for further troubleshooting. But each time the backup-checker-app starts, it wipes the disk. This patch prevents that allowing you to debug.