showuon commented on a change in pull request #11830:
URL: https://github.com/apache/kafka/pull/11830#discussion_r820173111



##########
File path: core/src/main/scala/kafka/log/LogValidator.scala
##########
@@ -571,13 +571,9 @@ private[log] object LogValidator extends Logging {
   private def processRecordErrors(recordErrors: Seq[ApiRecordError]): Unit = {
     if (recordErrors.nonEmpty) {
       val errors = recordErrors.map(_.recordError)
-      if (recordErrors.exists(_.apiError == Errors.INVALID_TIMESTAMP)) {

Review comment:
       Yes, looks like we need this, because we break 2 test cases after 
removing it. PR to bring it back to fix failed tests is opened: 
https://github.com/apache/kafka/pull/11853 . Thanks.




-- 
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]


Reply via email to