You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Vikas Singh (JIRA)" <ji...@apache.org> on 2019/06/17 16:32:00 UTC

[jira] [Resolved] (KAFKA-8457) Remove Log dependency from Replica

     [ https://issues.apache.org/jira/browse/KAFKA-8457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Singh resolved KAFKA-8457.
--------------------------------
    Resolution: Fixed

Fixed in commit 57baa4079d9fc14103411f790b9a025c9f2146a4

> Remove Log dependency from Replica
> ----------------------------------
>
>                 Key: KAFKA-8457
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8457
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Vikas Singh
>            Assignee: Vikas Singh
>            Priority: Major
>
> A partition can have one log but many replicas. Putting log in replica meant that we have to have if-else each time we need to access log. Moving the log out of replica and in partition will make code simpler and it will also help in testing where mocks will get simplified.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)