@@ -822,6 +822,14 @@ main(int argc, char *argv[])
ovsdb_idl_omit_alert(ovnsb_idl_loop.idl, &sbrec_sb_global_col_nb_cfg);
ovsdb_idl_omit_alert(ovnsb_idl_loop.idl, &sbrec_address_set_col_name);
ovsdb_idl_omit_alert(ovnsb_idl_loop.idl, &sbrec_address_set_col_addresses);
+ for (size_t i = 0; i < SBREC_LOGICAL_FLOW_N_COLUMNS; i++) {
+ ovsdb_idl_omit_alert(ovnsb_idl_loop.idl,
+ &sbrec_logical_flow_columns[i]);
+ }
+ for (size_t i = 0; i < SBREC_MULTICAST_GROUP_N_COLUMNS; i++) {
+ ovsdb_idl_omit_alert(ovnsb_idl_loop.idl,
+ &sbrec_multicast_group_columns[i]);
+ }
unixctl_command_register("sb-connection-status", "", 0, 0,
ovn_conn_show, ovnsb_idl_loop.idl);
The SB logical_flow table and multicast_group tables should be updated by northd only. Omitting the alerts (making them write-only) avoids unnecessary recompute triggered in northd. Signed-off-by: Han Zhou <hzhou@ovn.org> --- northd/ovn-northd.c | 8 ++++++++ 1 file changed, 8 insertions(+)