You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/09/22 21:06:00 UTC

[jira] [Created] (KAFKA-10511) Fix minor behavior difference in `MockLog`

Jason Gustafson created KAFKA-10511:
---------------------------------------

             Summary: Fix minor behavior difference in `MockLog`
                 Key: KAFKA-10511
                 URL: https://issues.apache.org/jira/browse/KAFKA-10511
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Jason Gustafson
            Assignee: Jason Gustafson


Fix minor difference in the implementation of the epoch cache in MockLog. In `LeaderEpochFileCache`, we ensure new entries increase both start offset and epoch monotonically. We also do not allow duplicates.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)