Commit 8162661
northd: Ignore LRP.status write-only column in northd.
The column was added to expose DGP information to the CMS but ovn-northd
never reads it and shouldn't be notified about its changes. The CMS
should also never write to it.
Omit updates to it, otherwise ovn-northd unnecessarily wakes up after
its own transaction that set it was committed in the NB.
Even worse, these updates break incremental processing of router
datapaths (if they're the only changes that happened in the NB) because
lr_changes_can_be_handled() assumes it's a relevant LRP change.
Update the existing tests accordingly.
Fixes: 19164b0 ("Expose distributed gateway port information in NB DB")
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ales Musil <amusil@redhat.com>
(cherry picked from commit 36b9ca9)1 parent 454fdb1 commit 8162661
2 files changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
| 889 | + | |
| 890 | + | |
889 | 891 | | |
890 | 892 | | |
891 | 893 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 306 | | |
312 | 307 | | |
313 | 308 | | |
| |||
11513 | 11508 | | |
11514 | 11509 | | |
11515 | 11510 | | |
11516 | | - | |
| 11511 | + | |
11517 | 11512 | | |
11518 | 11513 | | |
11519 | | - | |
11520 | | - | |
11521 | | - | |
| 11514 | + | |
11522 | 11515 | | |
11523 | 11516 | | |
11524 | 11517 | | |
| |||
0 commit comments