Description
We require a Redis-compatible key-value datastore for our metal-apiserver, which is worth to give the backup-restore functionality (it stores API tokens, invites and more). We started with keydb but want to move it to valkey.
The implementation already works in standalone configuration, however supporting a clustered configuration would be beneficial, too, as it provides the opportunity to update without zero-downtime.
With #67 it became possible to at least backup a clustered configuration by detecting the master in the cluster, but the restore mechanism would lead to all replicas restoring at the same time, leading to an uncontrolled state of the database.
Let's approach the issue the following way:
Description
We require a Redis-compatible key-value datastore for our metal-apiserver, which is worth to give the backup-restore functionality (it stores API tokens, invites and more). We started with keydb but want to move it to valkey.
The implementation already works in standalone configuration, however supporting a clustered configuration would be beneficial, too, as it provides the opportunity to update without zero-downtime.
With #67 it became possible to at least backup a clustered configuration by detecting the master in the cluster, but the restore mechanism would lead to all replicas restoring at the same time, leading to an uncontrolled state of the database.
Let's approach the issue the following way: