qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-218) ConcurrentModificationException during remote closure of session with multiple producers or consumers
Date Thu, 03 Nov 2016 14:38:58 GMT

    [ 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


Mime
View raw message