Commit 6d97124
BUG/MAJOR: do not delete backends that were also upserted in the same cycle
When processBackendsDeletedInCycle ran, it would delete a backend even if
another route had upserted it in the same reconciliation cycle. This caused
backends shared between routes to be removed when one of the routes was
updated, breaking traffic to the remaining routes.
Fix by skipping deletion when the backend also appears in the Upserted map.1 parent 31a4df8 commit 6d97124
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1010 | 1014 | | |
1011 | 1015 | | |
1012 | 1016 | | |
| |||
0 commit comments