Commit fb71051
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 00b2f18 commit fb71051
2 files changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
992 | 995 | | |
993 | 996 | | |
994 | 997 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12233 | 12233 | | |
12234 | 12234 | | |
12235 | 12235 | | |
| 12236 | + | |
| 12237 | + | |
| 12238 | + | |
| 12239 | + | |
| 12240 | + | |
| 12241 | + | |
| 12242 | + | |
| 12243 | + | |
| 12244 | + | |
| 12245 | + | |
| 12246 | + | |
| 12247 | + | |
| 12248 | + | |
| 12249 | + | |
| 12250 | + | |
| 12251 | + | |
| 12252 | + | |
| 12253 | + | |
| 12254 | + | |
| 12255 | + | |
| 12256 | + | |
| 12257 | + | |
| 12258 | + | |
| 12259 | + | |
| 12260 | + | |
| 12261 | + | |
| 12262 | + | |
| 12263 | + | |
| 12264 | + | |
| 12265 | + | |
| 12266 | + | |
| 12267 | + | |
| 12268 | + | |
| 12269 | + | |
| 12270 | + | |
| 12271 | + | |
| 12272 | + | |
| 12273 | + | |
| 12274 | + | |
| 12275 | + | |
| 12276 | + | |
| 12277 | + | |
| 12278 | + | |
| 12279 | + | |
| 12280 | + | |
| 12281 | + | |
| 12282 | + | |
12236 | 12283 | | |
12237 | 12284 | | |
12238 | 12285 | | |
| |||
0 commit comments