On Mon, May 24, 2021 at 06:49:56AM +0000, Arkadi Poliakevitch wrote: > I'm recently puzzled at the situation when northbound ovsdb-server is > the leader on one cluster node but the southbound ovsdb-server is the > leader on the other node. My understanding is that the same ovn-northd > instance should connect to both northbound and southbound sockets at > the same time in order to function properly, which is not the > case. One ovn-northd instance locks the connection to the southbound > leader and the other ovn-northd instance - to the northbound leader, > which makes no sense, of course. Any thoughts on this?
The northbound and southbound databases are independent. There is no need for them to have the same cluster nodes. They don't even necessarily both have to be clustered databases. There isn't any reason that ovn-northd needs to connect to northbound and southbound databases simultaneously. In fact, the idea of simultaneity in a distributed system is problematic. ovn-northd only locks the connection to the southbound database. _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss