Commit adfc375
northd: Omit alert for the SB DNS table.
ovn-northd is the only writer of the Southbound DNS table:
sync_dns_entries() rewrites the records and datapaths columns from the
Northbound contents on every recompute. The write-back of ovn-northd's
own transaction therefore alerts the IDL for no reason, and because
en_sb_dns has no change handler registered, every such alert forces a
full recompute of the en_northd node.
Disable IDL alerting for all SB DNS columns, as we already do for the
other tables ovn-northd owns. The rows stay replicated, so
sync_dns_entries() can still read them; only the change notification is
suppressed.
Add a test that writes to the SB DNS table directly and checks that the
northd engine node neither recomputes nor computes, and that a
subsequent recompute restores the records column from the Northbound
contents.
Signed-off-by: Lana Honcharuk <svitlana.s.honcharuk@gmail.com>
Assisted-by: Claude Opus 4.6
Signed-off-by: Ales Musil <amusil@redhat.com>
(cherry picked from commit 8697494)1 parent b17ac57 commit adfc375
2 files changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
986 | 989 | | |
987 | 990 | | |
988 | 991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12058 | 12058 | | |
12059 | 12059 | | |
12060 | 12060 | | |
| 12061 | + | |
| 12062 | + | |
| 12063 | + | |
| 12064 | + | |
| 12065 | + | |
| 12066 | + | |
| 12067 | + | |
| 12068 | + | |
| 12069 | + | |
| 12070 | + | |
| 12071 | + | |
| 12072 | + | |
| 12073 | + | |
| 12074 | + | |
| 12075 | + | |
| 12076 | + | |
| 12077 | + | |
| 12078 | + | |
| 12079 | + | |
| 12080 | + | |
| 12081 | + | |
| 12082 | + | |
| 12083 | + | |
| 12084 | + | |
| 12085 | + | |
| 12086 | + | |
| 12087 | + | |
| 12088 | + | |
| 12089 | + | |
| 12090 | + | |
| 12091 | + | |
| 12092 | + | |
| 12093 | + | |
| 12094 | + | |
| 12095 | + | |
| 12096 | + | |
| 12097 | + | |
| 12098 | + | |
| 12099 | + | |
| 12100 | + | |
| 12101 | + | |
| 12102 | + | |
| 12103 | + | |
| 12104 | + | |
| 12105 | + | |
| 12106 | + | |
| 12107 | + | |
12061 | 12108 | | |
12062 | 12109 | | |
12063 | 12110 | | |
| |||
0 commit comments