cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4727) Avoid ConcurrentModificationExceptions on relocateTokens
Date Thu, 27 Sep 2012 12:11:07 GMT

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

Dave Brosius commented on CASSANDRA-4727:
-----------------------------------------

committed to trunk as 1078e6f514bcfbcaadb2517099baab5f3d21d510
                
> Avoid ConcurrentModificationExceptions on relocateTokens
> --------------------------------------------------------
>
>                 Key: CASSANDRA-4727
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4727
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 1.2.0 beta 2
>
>         Attachments: cme_patch.txt
>
>
> code loops over a HashMap and deletes items from the hashmap without using the iterator.
> will result in ConcurrentModificationExceptions... remove thru the iterator instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message