Commit 9445e52
[apiserver] deduplicate proxy replica status writes on xDS events
The event-driven path blindly appended replicas without checking for
duplicates and always called Status().Update() even when nothing changed.
This caused unnecessary resourceVersion bumps that triggered downstream
reconciliation churn.
Add duplicate detection before append and skip the write when no change
occurred, matching the pattern already used by the 1-minute resync timer.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 36a2ccf commit 9445e52
1 file changed
+22
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
227 | 228 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
233 | 245 | | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
| 249 | + | |
237 | 250 | | |
238 | 251 | | |
239 | 252 | | |
240 | 253 | | |
241 | 254 | | |
242 | | - | |
243 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
244 | 259 | | |
245 | 260 | | |
246 | 261 | | |
| |||
0 commit comments