You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/09/27 07:03:08 UTC

[jira] [Commented] (CASSANDRA-4727) Avoid ConcurrentModificationExceptions on relocateTokens

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

Jonathan Ellis commented on CASSANDRA-4727:
-------------------------------------------

+1
                
> 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