[ovs-discuss] [ovs-dev] [OVN][RAFT]Why left server cannot be added back to

Ben Pfaff blp at ovn.org
Tue Nov 5 21:31:25 UTC 2019


On Tue, Nov 05, 2019 at 08:10:41PM +0800, taoyunupt wrote:
> Hi,Numan,
>                 When I  run OVN/RAFT cluster, I found a server(which initiative to leave or be kicked off ) ,cannot be added back to origin cluster. I found the code as following, can you tell me the reason , many thanks!
> 
> 
>     case RAFT_REC_NOTE:
>         if (!strcmp(r->note, "left")) {
>             return ovsdb_error(NULL, "record %llu indicates server has left "
>                                "the cluster; it cannot be added back (use "
>                                "\"ovsdb-tool join-cluster\" to add a new "
>                                "server)", rec_idx);

The Raft dissertation doesn't contemplate the possibility of a server
re-joining a cluster.  Allowing it would add new corner cases that
aren't worth dealing with.


More information about the discuss mailing list