chia7712 commented on code in PR #21176:
URL: https://github.com/apache/kafka/pull/21176#discussion_r2637842605
##########
storage/src/test/java/org/apache/kafka/storage/internals/log/ProducerStateManagerTest.java:
##########
@@ -1185,15 +1211,15 @@ public void
testRejectNonZeroSequenceForDirectEpochBump() {
appendClientEntry(stateManager, producerId, epoch, 0, 0L, false);
appendClientEntry(stateManager, producerId, epoch, 1, 1L, false);
appendClientEntry(stateManager, producerId, epoch, 2, 2L, false);
-
+
// Verify initial state
ProducerStateEntry initialEntry =
getLastEntryOrElseThrownByProducerId(stateManager, producerId);
assertEquals(0, initialEntry.producerEpoch());
assertEquals(2, initialEntry.lastSeq());
assertFalse(initialEntry.isEmpty()); // Has batch metadata
ProducerAppendInfo appendInfo = stateManager.prepareUpdate(producerId,
AppendOrigin.CLIENT);
-
+
Review Comment:
would you mind removing those unrelated changes?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]