In case connection is reset when there are buffered but unsent
conditions, these conditions will be sent as the new "monitor_cond"
message that will be sent after the idl reconnects.
Without this patch, those conditions will be unnecessarily sent again
with following monitoring condition update message.
Signed-off-by: Andy Zhou <azhou@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
struct ovsdb_idl_table *table = &idl->tables[i];
struct ovsdb_idl_row *row, *next_row;
+ table->cond_changed = false;
if (hmap_is_empty(&table->rows)) {
continue;
}
}
}
+ idl->cond_changed = false;
ovsdb_idl_track_clear(idl);
if (changed) {