Commit 3c9b2f2
[controller] Register PARTITION_STATE and STORE_VERSION_STATE schemas at
startup
Add ControllerClientBackedSystemSchemaInitializer for PARTITION_STATE
and STORE_VERSION_STATE, matching the existing pattern for
KAFKA_MESSAGE_ENVELOPE. This allows any child controller to register
new schema versions at startup, removing the dependency on deploying
the system schema cluster controller first.
Gated by new config
controller.storage.protocol.schema.startup.registration.enabled
(default: false) for intentional rollout. Requires the existing
system.schema.initialization.at.start.time.enabled to also be true.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 49e1978 commit 3c9b2f2
3 files changed
Lines changed: 50 additions & 0 deletions
File tree
- internal/venice-common/src/main/java/com/linkedin/venice
- services/venice-controller/src/main/java/com/linkedin/venice/controller
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
719 | 728 | | |
720 | 729 | | |
721 | 730 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
518 | 550 | | |
519 | 551 | | |
520 | 552 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
| 485 | + | |
| 486 | + | |
484 | 487 | | |
485 | 488 | | |
486 | 489 | | |
| |||
1194 | 1197 | | |
1195 | 1198 | | |
1196 | 1199 | | |
| 1200 | + | |
| 1201 | + | |
1197 | 1202 | | |
1198 | 1203 | | |
1199 | 1204 | | |
| |||
2206 | 2211 | | |
2207 | 2212 | | |
2208 | 2213 | | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
2209 | 2218 | | |
2210 | 2219 | | |
2211 | 2220 | | |
| |||
0 commit comments