Commit 8697494
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>1 parent d3604be commit 8697494
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 | |
|---|---|---|---|
| |||
12307 | 12307 | | |
12308 | 12308 | | |
12309 | 12309 | | |
| 12310 | + | |
| 12311 | + | |
| 12312 | + | |
| 12313 | + | |
| 12314 | + | |
| 12315 | + | |
| 12316 | + | |
| 12317 | + | |
| 12318 | + | |
| 12319 | + | |
| 12320 | + | |
| 12321 | + | |
| 12322 | + | |
| 12323 | + | |
| 12324 | + | |
| 12325 | + | |
| 12326 | + | |
| 12327 | + | |
| 12328 | + | |
| 12329 | + | |
| 12330 | + | |
| 12331 | + | |
| 12332 | + | |
| 12333 | + | |
| 12334 | + | |
| 12335 | + | |
| 12336 | + | |
| 12337 | + | |
| 12338 | + | |
| 12339 | + | |
| 12340 | + | |
| 12341 | + | |
| 12342 | + | |
| 12343 | + | |
| 12344 | + | |
| 12345 | + | |
| 12346 | + | |
| 12347 | + | |
| 12348 | + | |
| 12349 | + | |
| 12350 | + | |
| 12351 | + | |
| 12352 | + | |
| 12353 | + | |
| 12354 | + | |
| 12355 | + | |
| 12356 | + | |
12310 | 12357 | | |
12311 | 12358 | | |
12312 | 12359 | | |
| |||
0 commit comments