Commit 8432b47
🤖 Address Copilot review comments: input validation and nullability docs
- Add key-length guard before Arrays.copyOf in chunked GlobalRtDiv manifest
path to avoid NegativeArraySizeException on corrupted/short keys
- Add METADATA_PARTITION_ID check to putGlobalRtDivChunk/getGlobalRtDivChunk
for consistency with other metadata partition APIs
- Annotate getGlobalRtDivChunk return type with @nullable and add Javadoc
to make the null-when-missing contract explicit at the interface level
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 282dec3 commit 8432b47
3 files changed
Lines changed: 16 additions & 0 deletions
File tree
- clients/da-vinci-client/src/main/java/com/linkedin/davinci
- kafka/consumer
- store
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4121 | 4121 | | |
4122 | 4122 | | |
4123 | 4123 | | |
| 4124 | + | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
4124 | 4128 | | |
4125 | 4129 | | |
4126 | 4130 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
730 | 734 | | |
731 | 735 | | |
732 | 736 | | |
| |||
738 | 742 | | |
739 | 743 | | |
740 | 744 | | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
741 | 749 | | |
742 | 750 | | |
743 | 751 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
| 183 | + | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| |||
0 commit comments