----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26346/#review55720 -----------------------------------------------------------
core/src/main/scala/kafka/common/MessageSetSizeTooLargeException.scala <https://reviews.apache.org/r/26346/#comment96114> We need to add this exception to ErrorMapping and Errors. We also need to add this class to org.apache.kafka.common.errors in the client. core/src/test/scala/unit/kafka/log/LogTest.scala <https://reviews.apache.org/r/26346/#comment96104> By increasing the segment size to 100, does the log still roll on every message as indicated by the comment? - Jun Rao On Oct. 7, 2014, 8:49 p.m., Sriharsha Chintalapani wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/26346/ > ----------------------------------------------------------- > > (Updated Oct. 7, 2014, 8:49 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1670 > https://issues.apache.org/jira/browse/KAFKA-1670 > > > Repository: kafka > > > Description > ------- > > KAFKA-1670. Corrupt log files for segment.bytes values close to Int.MaxInt. > > > KAFKA-1670. Corrupt log files for segment.bytes values close to Int.MaxInt. > > > KAFKA-1670. Corrupt log files for segment.bytes values close to Int.MaxInt. > > > KAFKA-1670. Corrupt log files for segment.bytes values close to Int.MaxInt. > > > Diffs > ----- > > core/src/main/scala/kafka/common/MessageSetSizeTooLargeException.scala > PRE-CREATION > core/src/main/scala/kafka/log/Log.scala > 0ddf97bd30311b6039e19abade41d2fbbad2f59b > core/src/test/scala/unit/kafka/log/LogManagerTest.scala > 59bd8a981b3fb8595dd6e790a30071092978a88d > core/src/test/scala/unit/kafka/log/LogTest.scala > 577d102fc2eb6bb1a72326141ecd431db6d66f04 > core/src/test/scala/unit/kafka/server/LogOffsetTest.scala > 9556ed92c61ffee5423be962bcdbe64c71e1f2fa > > Diff: https://reviews.apache.org/r/26346/diff/ > > > Testing > ------- > > > Thanks, > > Sriharsha Chintalapani > >