Commit 6985ae0
Andrew Lee
We've seen instances of a VPC being left with a now-deleted subnet on
its status field.
We believe this is due to a race condition where we patch a VPC without
taking care of ResourceVersion. For now, every time we run
`handleAddOrUpdateVpc` we ensure the vpc.Status.Subnets field is
correct.
Fixes: #5220
Signed-off-by: Andrew Lee <alee@evroc.com>1 parent 490ecc0 commit 6985ae0
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
495 | 503 | | |
496 | 504 | | |
497 | 505 | | |
| |||
0 commit comments