forked from openvswitch/ovs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovsdb-idl: Force reconnect when missing updates encountered.
When processing update2 messages, if the IDL detects that previous updates were missed, clear db->last_id and trigger a reconnect such that the IDL refreshes its complete view of the database. Such scenarios can happen for example when bugs in ovsdb-server/ovsdb-idl are encountered. One such situation is reported in https://bugzilla.redhat.com/show_bug.cgi?id=1808580. This commit doesn't fix the root cause of the bug above but adds the recovery mechanism to avoid staying in an inconsistent state for ever. CC: Andy Zhou <azhou@ovn.org> Fixes: db2b575 ("lib: add monitor2 support in ovsdb-idl.") Signed-off-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
- Loading branch information
Showing
1 changed file
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters