You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russ Hatch (JIRA)" <ji...@apache.org> on 2014/08/08 23:35:11 UTC

[jira] [Created] (CASSANDRA-7728) ConcurrentModificationException after upgrade to trunk

Russ Hatch created CASSANDRA-7728:
-------------------------------------

             Summary: ConcurrentModificationException after upgrade to trunk
                 Key: CASSANDRA-7728
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7728
             Project: Cassandra
          Issue Type: Bug
            Reporter: Russ Hatch


Trying to repro another issue, I ran across this exception. It occurred during a rolling upgrade to trunk. It happening during or right after the test script checks counters to see if they are correct.
{noformat}
java.util.ConcurrentModificationException: null
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) ~[na:1.7.0_67]
        at java.util.ArrayList$Itr.next(ArrayList.java:831) ~[na:1.7.0_67]
        at org.apache.cassandra.service.RowDigestResolver.getData(RowDigestResolver.java:40) ~[main/:na]
        at org.apache.cassandra.service.RowDigestResolver.getData(RowDigestResolver.java:28) ~[main/:na]
        at org.apache.cassandra.service.ReadCallback.get(ReadCallback.java:110) ~[main/:na]
        at org.apache.cassandra.service.AbstractReadExecutor.get(AbstractReadExecutor.java:144) ~[main/:na]
        at org.apache.cassandra.service.StorageProxy.fetchRows(StorageProxy.java:1262) ~[main/:na]
        at org.apache.cassandra.service.StorageProxy.read(StorageProxy.java:1188) ~[main/:na]
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:256) ~[main/:na]
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:212) ~[main/:na]
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:61) ~[main/:na]
        at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:186) ~[main/:na]
        at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:205) ~[main/:na]
        at org.apache.cassandra.thrift.CassandraServer.execute_cql3_query(CassandraServer.java:1916) ~[main/:na]
        at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4588) ~[thrift/:na]
        at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4572) ~[thrift/:na]
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) ~[libthrift-0.9.1.jar:0.9.1]
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) ~[libthrift-0.9.1.jar:0.9.1]
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:201) ~[main/:na]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
{noformat}

It's not happening 100% of the time, but may be triggered by running this dtest:
{noformat}
nosetests -vs upgrade_through_versions_test.py:TestUpgradeThroughVersions.upgrade_test_mixed
{noformat}




--
This message was sent by Atlassian JIRA
(v6.2#6252)