You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Justinwins (Jira)" <ji...@apache.org> on 2022/06/25 01:02:00 UTC

[jira] [Assigned] (KAFKA-13856) MirrorCheckpointTask meets ConcurrentModificationException

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

Justinwins reassigned KAFKA-13856:
----------------------------------

    Assignee: Justinwins

> MirrorCheckpointTask meets ConcurrentModificationException
> ----------------------------------------------------------
>
>                 Key: KAFKA-13856
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13856
>             Project: Kafka
>          Issue Type: Bug
>          Components: mirrormaker
>    Affects Versions: 3.0.1
>            Reporter: Justinwins
>            Assignee: Justinwins
>            Priority: Minor
>              Labels: bug
>
> In MirrorCheckpointTask.java, the field 
> private Map<String, List<Checkpoint>> checkpointsPerConsumerGroup = new HashMap<>
> may be modified ( used with put API) , and traversed  by two different threads at the same time.
> Clearly,this would incur ConcurrentModificationException.
>  
> This bug still exists in Trunk branch.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)