[Feature]To take out of sync full/delta snapshot, delegate the incoming http request from backup Follower to the backup Leader. #354
Labels
kind/enhancement
Enhancement, improvement, extension
release/beta
Planned for Beta release of the Feature
Feature (What you would like to be added):
If backup-restore
Follower
receives the HTTP/HTTPS requests to take out-of-sync full/delta snapshot then delegate that incoming request to the backup-restoreLeader
and Let the backup-restore leader take/upload the out-of-sync snapshot(full as well as incremental).Motivation (Why is this needed?):
While adding support to bring the snapshotters (both full and incremental) go routines under the control of the leader-election as described here, We observed that all backup-restore Follower's http handler don't have updated SnapshotterState, if the request comes to the REST endpoints fo
follower
to take out of sync full/delta snapshot then the snapshot taken will not be the latest, and it is not good to let backup-restoreFollower
take the snapshot, it should delegate the request to backup-restoreLeader
.Approach/Hint to the implement solution (optional):
The text was updated successfully, but these errors were encountered: