Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7728

ConcurrentModificationException after upgrade to trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      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.

      ERROR [Thrift:2] 2014-08-11 13:47:09,668 CustomTThreadPoolServer.java:219 - Error occurred during processing of message.
      java.util.ConcurrentModificationException: null
      	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) ~[na:1.7.0_65]
      	at java.util.ArrayList$Itr.next(ArrayList.java:831) ~[na:1.7.0_65]
      	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_65]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
      

      It's not happening 100% of the time, but may be triggered by running this dtest:

      nosetests -vs upgrade_through_versions_test.py:TestUpgradeThroughVersions.upgrade_test_mixed
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhatch Russ Hatch
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: