Commit ad00c64
committed
Don't re-reconcile when adopting resources
Unlike referenced resources, which specify a future intent, adoption
only affects resources which have already been created. Successive
executions will produce the same output, so there is no need to
re-reconcile if we found orphaned resources.
Also we seem to be hitting this a lot in practise, most likely due to
the controller-runtime read-after-write cache inconsistency issue.1 parent 567469e commit ad00c64
File tree
5 files changed
+11
-22
lines changed- controllers
- pkg/cloud/services
- compute
- networking
5 files changed
+11
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 168 | | |
173 | 169 | | |
174 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
576 | | - | |
| 574 | + | |
577 | 575 | | |
578 | 576 | | |
579 | | - | |
| 577 | + | |
580 | 578 | | |
581 | 579 | | |
582 | 580 | | |
| |||
598 | 596 | | |
599 | 597 | | |
600 | 598 | | |
601 | | - | |
| 599 | + | |
602 | 600 | | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
606 | 604 | | |
607 | | - | |
| 605 | + | |
608 | 606 | | |
609 | 607 | | |
610 | | - | |
| 608 | + | |
611 | 609 | | |
612 | 610 | | |
613 | 611 | | |
614 | 612 | | |
615 | 613 | | |
616 | 614 | | |
617 | | - | |
618 | 615 | | |
619 | 616 | | |
620 | | - | |
| 617 | + | |
621 | 618 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
| 974 | + | |
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
| |||
0 commit comments