You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yixing Zhang (Jira)" <ji...@apache.org> on 2020/02/18 21:58:00 UTC

[jira] [Created] (SAMZA-2461) Fix: Concurrent Modification Exception in InMemorySystem

Yixing Zhang created SAMZA-2461:
-----------------------------------

             Summary: Fix: Concurrent Modification Exception in InMemorySystem
                 Key: SAMZA-2461
                 URL: https://issues.apache.org/jira/browse/SAMZA-2461
             Project: Samza
          Issue Type: Bug
            Reporter: Yixing Zhang


The returned value of InMeomoryManager#poll is a sublist of a mutable list. While iterating the sublist, if the original list is modified, ConcurrentModification exception will be thrown. We need to make a copy of the sublist and return the copy instead.



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