diff options
author | Guoshuai Li <ligs@dtdream.com> | 2016-12-29 23:47:58 +0800 |
---|---|---|
committer | Andy Zhou <azhou@ovn.org> | 2016-12-30 15:22:53 -0800 |
commit | a38f532320936147e6831153828af5bcba2fba54 (patch) | |
tree | d33d5ca10c55e05a6a2981ad9b6aed85f6431e91 /datapath-windows/ovsext/Conntrack.c | |
parent | d444a914fdbd4a5e1e41b81a3853deebb0da0db3 (diff) | |
download | openvswitch-a38f532320936147e6831153828af5bcba2fba54.tar.gz |
OVN-HA: Fix data loss after OVNDB promotion
When master node shuts down, both VIP and OVNDB Master are expected
to be moved over to the backup node.
However, the VIP must be started after the OVNDB has been promoted.
Otherwise, the database content can be whipped out, since the OVSDB
running in the backup state can reconnect to the VIP that just moved
over, thus removing the database content.
See also: http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/
Pacemaker_Explained/s-resource-ordering.html
Signed-off-by: Guoshuai Li <ligs@dtdream.com>
Signed-off-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Conntrack.c')
0 files changed, 0 insertions, 0 deletions