The client will retry according to the RetryPolicy (default is RetryPolicies.retryForeverNoSleep()). The default policy will retry forever. The other policies will retry to a limit and then rise an exception. The policy can be set by RaftClient.Builder.setRetryPolicy(..).
Hope it helps. Tsz-Wo On Mon, Nov 23, 2020 at 4:53 PM Pietro Tollot <[email protected]> wrote: > > Hi, my doubt is how is defined the behaviour of the client send method in a scenario in which the leader failed and has not been elected a new one yet. Does the method block until a new leader is elected? Does it rises an exception? > > Thanks
