Skip to content

Commit a2ac1c2

Browse files
authored
Allow setting the LeaderAndIsrErrorCode in version 1 of the LiCombinedControlResponse (linkedin#408)
TICKET = N/A LI_DESCRIPTION = This is a fix of the commit 16fd25f The current schema file had incorrectly pinned the LeaderAndIsrPartitionErrors field to only version 0. This PR would allow a non-default LeaderAndIsrPartitionErrors in higher versions of the LiCombinedControlResponse. EXIT_CRITERIA = The same as the LiCombinedControl feature.
1 parent c46ae2d commit a2ac1c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/src/main/resources/common/message/LiCombinedControlResponse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// fields from the LeaderAndIsr response
3030
{ "name": "LeaderAndIsrErrorCode", "type": "int16", "versions": "0+",
3131
"about": "The error code, or 0 if there was no error." },
32-
{ "name": "LeaderAndIsrPartitionErrors", "type": "[]LeaderAndIsrPartitionError", "versions": "0",
32+
{ "name": "LeaderAndIsrPartitionErrors", "type": "[]LeaderAndIsrPartitionError", "versions": "0+",
3333
"about": "Each partition."},
3434
{ "name": "LeaderAndIsrTopics", "type": "[]LeaderAndIsrTopicError", "versions": "1+",
3535
"about": "Each topic", "fields": [

0 commit comments

Comments
 (0)