jolshan commented on a change in pull request #9590:
URL: https://github.com/apache/kafka/pull/9590#discussion_r583203466



##########
File path: core/src/main/scala/kafka/log/Log.scala
##########
@@ -209,6 +209,11 @@ case object LeaderOffsetIncremented extends 
LogStartOffsetIncrementReason {
 case object SegmentDeletion extends LogStartOffsetIncrementReason {
   override def toString: String = "segment deletion"
 }
+
+case object SegmentCompaction extends LogStartOffsetIncrementReason {

Review comment:
       But I think it also makes sense to switch them.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to