We'd like keysync to handle several server failure scenarios, so we need a more robust backend. * Retry support * During a sync, we should try to fetch the secret list multiple times if it fails * We should try to fetch each secret multiple times before moving on * Failover support * If there are too many consecutive failures talking to a server, we should try a second one * Probably an MX-record like weighted priority list. * backoff between failover/retries * Any one sync should occur against the same server * Avoids issues with lagging mysql replication and inconsistent server view-of-the-world * info on individual retries * warn on failover * error if all servers fail
We'd like keysync to handle several server failure scenarios, so we need a more robust backend.