Some servers sometimes have transient errors.
My idea is to make it possible for the client to sleep and retry on transient errors. This should be a configurable opt-in feature.
It goes in under the "features"-section in the server configuration. Perhaps this "feature" can be called "high-availability" with type "server-peculiarity". Or perhaps it should be more explicit, "retry-on-failure" of type "client-feature". Extra configuration parameters should indicate the sleep before the first retry (one may want to keep it short - perhaps all that is needed is a retry, without any sleep), the sleep between subsequent retries, the max number of retries. May consider supporting growing sleep intervals too.
Some servers sometimes have transient errors.
My idea is to make it possible for the client to sleep and retry on transient errors. This should be a configurable opt-in feature.
It goes in under the "features"-section in the server configuration. Perhaps this "feature" can be called "high-availability" with type "server-peculiarity". Or perhaps it should be more explicit, "retry-on-failure" of type "client-feature". Extra configuration parameters should indicate the sleep before the first retry (one may want to keep it short - perhaps all that is needed is a retry, without any sleep), the sleep between subsequent retries, the max number of retries. May consider supporting growing sleep intervals too.