You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Bharath Kumarasubramanian (Jira)" <ji...@apache.org> on 2020/02/18 23:36:00 UTC
[jira] [Updated] (SAMZA-2461) Fix Concurrent Modification Exception
in InMemorySystem
[ https://issues.apache.org/jira/browse/SAMZA-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharath Kumarasubramanian updated SAMZA-2461:
---------------------------------------------
Summary: Fix Concurrent Modification Exception in InMemorySystem (was: Fix: Concurrent Modification Exception in InMemorySystem)
> 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
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)