Skip to content

Commit b02944b

Browse files
authored
Merge pull request #1091 from twmb/fix
kgo: fix panic in metadata updates from inconsistent broker state
2 parents 0e456ad + 645f112 commit b02944b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kgo/metadata.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ func (cl *Client) mergeTopicPartitions(
870870
"topic", topic,
871871
"partition", part,
872872
)
873+
*newTP = *oldTP
873874
retryWhy.add(topic, int32(part), errMissingTopicID)
874875
continue
875876
}

0 commit comments

Comments
 (0)