[ovs-dev] [PATCH] raft: Report disconnected in cluster/status if candidate retries election.
i.maximets at ovn.org
Mon Mar 1 20:20:49 UTC 2021
On 2/25/21 8:14 AM, Han Zhou wrote:
> On Tue, Feb 23, 2021 at 5:16 AM Ilya Maximets <i.maximets at ovn.org <mailto:i.maximets at ovn.org>> wrote:
>> If election times out for a server in 'candidate' role it sets
>> 'candidate_retrying' flag that notifies that storage is disconnected
>> and client should re-connect. However, cluster/status command
>> reports 'Status: cluster member' and that is misleading.
>> Reporting "disconnected from the cluster (election timeout)" instead.
>> Fixes: 1b1d2e6daa56 ("ovsdb: Introduce experimental support for clustered databases.")
> candidate_retrying flag was introduced in a patch later than the above one :)
> Acked-by: Han Zhou <hzhou at ovn.org <mailto:hzhou at ovn.org>>
Applied to master and backported down to 2.12.
Best regards, Ilya Maximets.
More information about the dev