You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/03 14:38:58 UTC

[jira] [Commented] (QPIDJMS-218) ConcurrentModificationException during remote closure of session with multiple producers or consumers

    [ https://issues.apache.org/jira/browse/QPIDJMS-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632908#comment-15632908 ] 

ASF subversion and git services commented on QPIDJMS-218:
---------------------------------------------------------

Commit 32fc7d20cb0bc1627cb7f21438aa18715fb63e57 in qpid-jms's branch refs/heads/master from Robert Gemmell
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=32fc7d2 ]

QPIDJMS-218: prevent CME during remote session closure with multiple consumers/producers, add tests (for local case also)


> ConcurrentModificationException during remote closure of session with multiple producers or consumers
> -----------------------------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-218
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-218
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.11.1
>            Reporter: Robbie Gemmell
>             Fix For: 0.20.0
>
>
> During remote session closure the client can cause a ConcurrentModificationException while cleaning up any open producers and consumers, if there happened to be either multiple consumers or multiple producers active on the session. This happens despite the affected code being single thread, because the contents of a map are iterated over and then 'concurrently' altered by the thread elsewhere during the cleanup process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org