Skip to content

Commit c8afe32

Browse files
committed
oops
1 parent 9e861eb commit c8afe32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal/venice-common/src/main/java/com/linkedin/venice/kafka/validation

internal/venice-common/src/main/java/com/linkedin/venice/kafka/validation/Segment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ public ProducerPartitionState toProducerPartitionState() {
428428
*/
429429
pps.aggregates = CollectionUtils.substituteEmptyMap(getAggregates());
430430
pps.debugInfo = CollectionUtils.substituteEmptyMap(getDebugInfo());
431-
pps.checksumType = getCheckSumType().getValue();
432431
populateProducerPartitionState(pps);
433432
return pps;
434433
}
@@ -439,6 +438,7 @@ public void populateProducerPartitionState(ProducerPartitionState pps) {
439438
* which is expensive. We should only invoke this closure when necessary.
440439
*/
441440
pps.checksumState = ByteBuffer.wrap(getCheckSumState());
441+
pps.checksumType = getCheckSumType().getValue();
442442
pps.segmentNumber = getSegmentNumber();
443443
pps.messageSequenceNumber = getSequenceNumber();
444444
pps.messageTimestamp = getLastRecordProducerTimestamp();

0 commit comments

Comments
 (0)