Commit 4667171
[controller] Use terminal ERROR for never-created version in /job
Address review: NOT_CREATED is non-terminal (isTerminal=false), so VPJ would
keep polling rather than exiting its loop. Use the terminal ERROR status for
the versionNum > largestUsedVersionNumber branch — a version that was never
created is a genuine inconsistency, not a transient absence. Keep ARCHIVED for
the retired branch (versionNum <= largestUsedVersionNumber) and differentiate
the two cases via distinct status-details strings.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 698d522 commit 4667171
2 files changed
Lines changed: 20 additions & 12 deletions
File tree
- services/venice-controller/src
- main/java/com/linkedin/venice/controller
- test/java/com/linkedin/venice/controller
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4517 | 4517 | | |
4518 | 4518 | | |
4519 | 4519 | | |
4520 | | - | |
4521 | | - | |
4522 | | - | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
4523 | 4526 | | |
4524 | | - | |
4525 | | - | |
4526 | | - | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
4527 | 4533 | | |
4528 | | - | |
| 4534 | + | |
4529 | 4535 | | |
4530 | 4536 | | |
4531 | | - | |
| 4537 | + | |
| 4538 | + | |
4532 | 4539 | | |
4533 | 4540 | | |
4534 | 4541 | | |
4535 | 4542 | | |
4536 | | - | |
| 4543 | + | |
4537 | 4544 | | |
4538 | 4545 | | |
4539 | 4546 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2262 | 2262 | | |
2263 | 2263 | | |
2264 | 2264 | | |
2265 | | - | |
| 2265 | + | |
2266 | 2266 | | |
2267 | | - | |
| 2267 | + | |
| 2268 | + | |
2268 | 2269 | | |
2269 | 2270 | | |
2270 | 2271 | | |
| |||
2284 | 2285 | | |
2285 | 2286 | | |
2286 | 2287 | | |
2287 | | - | |
| 2288 | + | |
2288 | 2289 | | |
2289 | 2290 | | |
2290 | 2291 | | |
| |||
0 commit comments