On 5/4/20 6:17 PM, Han Zhou wrote: > On Fri, May 1, 2020 at 12:13 PM Mark Michelson <mmich...@redhat.com> wrote: >> >> If an administrator removes all of the databases in a cluster from >> disk, then ovsdb IDL clients will have a problem. The databases will all >> reset their stored indexes to 0, so The IDL client's min_index will be >> higher than the indexes of all databases in the cluster. This results in >> the client constantly connecting to databases, detecting the data as >> "stale", and then attempting to connect to another. >> >> This function provides a way to reset the IDL to an initial state with >> min_index of 0. This way, the client will not wrongly detect the >> database data as stale and will recover properly. >> >> Notice that this function is not actually used anywhere in this patch. >> This will be used by OVN, though, since OVN is the primary user of >> clustered OVSDB. >> >> Signed-off-by: Mark Michelson <mmich...@redhat.com> >> --- > Acked-by: Han Zhou <hz...@ovn.org>
Thanks, Mark and Han! Applied to master. Best regards, Ilya Maximets. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev