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

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

Dave Brosius created CASSANDRA-4727:
---------------------------------------

             Summary: 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
            Priority: Trivial
             Fix For: 1.2.0


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

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

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius reassigned CASSANDRA-4727:
---------------------------------------

    Assignee: Dave Brosius
    
> 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
>
>         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

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius updated CASSANDRA-4727:
------------------------------------

    Attachment: cme_patch.txt
    
> 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
>            Priority: Trivial
>             Fix For: 1.2.0
>
>         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

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

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius updated CASSANDRA-4727:
------------------------------------

    Reviewer: jbellis  (was: urandom)
    
> 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

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

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4727:
--------------------------------------

    Fix Version/s:     (was: 1.2.0)
                   1.2.0 beta 2
    
> 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