cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel S. (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-13061) C* driver hangs forever in case of concurrent CREATE TABLE IF NOT EXISTS
Date Tue, 20 Dec 2016 16:07:58 GMT
Pavel S. created CASSANDRA-13061:

             Summary: C* driver hangs forever in case of concurrent CREATE TABLE IF NOT EXISTS
                 Key: CASSANDRA-13061
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Pavel S.


It's one-node setup and everything I'm doing is just running {{CREATE TABLE IF NOT EXISTS}}
from several threads at the same time.

I'm getting this:

The problem is definitely related to CASSANDRA-5025

15:52:40.194 [cluster1-nio-worker-1] WARN  c.d.driver.core.RequestHandler - /
replied with server error (java.lang.RuntimeException: java.util.concurrent.ExecutionException:
org.apache.cassandra.exceptions.ConfigurationException: Column family ID mismatch (found 5230d9a0-c6cc-11e6-9ece-6d2c86545d91;
expected 51d06a20-c6cc-11e6-9ece-6d2c86545d91)), defuncting connection.

On C* 3.9:

[cqlsh 5.0.1 | Cassandra 3.9 | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.

with latest driver: {{"com.datastax.cassandra" % "cassandra-driver-core" % "3.1.2"}}

The only difference with previous version is the fact that applications starts hanging forever
with stack like

"pool-4-thread-5-ScalaTest-running-CassandraMwsRestTest" #37 prio=5 os_prio=31 tid=0x00007f7f7048a800
nid=0x5113 waiting on condition [0x0000700006010000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x0000000796682630> (a com.datastax.driver.core.DefaultResultSetFuture)
	at java.util.concurrent.locks.LockSupport.park(
	at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(
	at com.datastax.driver.core.AbstractSession.execute(
	at com.datastax.driver.core.AbstractSession.execute(
	at org.bitbucket.pshirshov.izumitk.cassandra.util.CassandraQueries$$anonfun$createTables$1.apply(CassandraQueries.scala:26)
	at org.bitbucket.pshirshov.izumitk.cassandra.util.CassandraQueries$$anonfun$createTables$1.apply(CassandraQueries.scala:25)
	at scala.collection.immutable.List.foreach(List.scala:381)

This message was sent by Atlassian JIRA

View raw message