mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 08:15:25 +00:00
ovsdb-idl.c: Increase seqno for change-tracking of table references.
This fixes the change-tracking feature. The seqno change is needed so that
the change-tracking helper function ..._is_new() can work properly.
Fixes: 102781cc02
("ovsdb-idl: Track changes for table references.")
Signed-off-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -2359,6 +2359,9 @@ add_tracked_change_for_references(struct ovsdb_idl_row *row)
|
|||||||
ovsdb_idl_track_is_set(row->table)) {
|
ovsdb_idl_track_is_set(row->table)) {
|
||||||
ovs_list_push_back(&row->table->track_list,
|
ovs_list_push_back(&row->table->track_list,
|
||||||
&row->track_node);
|
&row->track_node);
|
||||||
|
row->change_seqno[OVSDB_IDL_CHANGE_MODIFY]
|
||||||
|
= row->table->change_seqno[OVSDB_IDL_CHANGE_MODIFY]
|
||||||
|
= row->table->db->change_seqno + 1;
|
||||||
|
|
||||||
const struct ovsdb_idl_arc *arc;
|
const struct ovsdb_idl_arc *arc;
|
||||||
LIST_FOR_EACH (arc, dst_node, &row->dst_arcs) {
|
LIST_FOR_EACH (arc, dst_node, &row->dst_arcs) {
|
||||||
|
Reference in New Issue
Block a user