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

Jim Witschey edited comment on CASSANDRA-11927 at 7/15/16 1:50 PM:
-------------------------------------------------------------------

This looks like a race between {{ColumnFamilyStore}} and {{Keyspace}}. From 
{{node3_debug.log}}:

{code}
DEBUG [MigrationStage:1] 2016-05-30 16:00:17,191 Schema.java:465 - Adding 
org.apache.cassandra.config.CFMetaData@81d417e[cfId=99f5be60-267f-11e6-ad5f-f13d771494ea,ksName=test,cfName=test,flags=[COMPOUND],params=TableParams{comment=,
 read_repair_chance=0.0, dclocal_read_repair_chance=0.1, 
bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=864000, 
default_time_to_live=0, memtable_flush_period_in_ms=0, min_index_interval=128, 
max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 
'ALL', 'rows_per_partition' : 'NONE'}, 
compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,
 options={max_threshold=32, min_threshold=4}}, 
compression=org.apache.cassandra.schema.CompressionParams@4388edc3, 
extensions={}},comparator=comparator(),partitionColumns=[[] | 
[value]],partitionKeyColumns=[ColumnDefinition{name=id, 
type=org.apache.cassandra.db.marshal.Int32Type, kind=PARTITION_KEY, 
position=0}],clusteringColumns=[],keyValidator=org.apache.cassandra.db.marshal.Int32Type,columnMetadata=[ColumnDefinition{name=id,
 type=org.apache.cassandra.db.marshal.Int32Type, kind=PARTITION_KEY, 
position=0}, ColumnDefinition{name=value, 
type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, 
position=-1}],droppedColumns={},triggers=[],indexes=[]] to cfIdMap
DEBUG [GossipStage:1] 2016-05-30 16:00:17,204 MigrationManager.java:94 - Not 
pulling schema because versions match or shouldPullSchemaFrom returned false
INFO  [MigrationStage:1] 2016-05-30 16:00:17,210 ColumnFamilyStore.java:405 - 
Initializing test.test
ERROR [SharedPool-Worker-1] 2016-05-30 16:00:17,211 Keyspace.java:504 - 
Attempting to mutate non-existant table 99f5be60-267f-11e6-ad5f-f13d771494ea 
(test.test)
DEBUG [MigrationStage:1] 2016-05-30 16:00:17,297 MigrationManager.java:557 - 
Gossiping my schema version a8612214-71b9-3e94-863e-04dd77cbbb88
{code}


was (Author: mambocab):
This looks like a race condition. From {{node3_debug.log}}:

{code}
DEBUG [MigrationStage:1] 2016-05-30 16:00:17,191 Schema.java:465 - Adding 
org.apache.cassandra.config.CFMetaData@81d417e[cfId=99f5be60-267f-11e6-ad5f-f13d771494ea,ksName=test,cfName=test,flags=[COMPOUND],params=TableParams{comment=,
 read_repair_chance=0.0, dclocal_read_repair_chance=0.1, 
bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=864000, 
default_time_to_live=0, memtable_flush_period_in_ms=0, min_index_interval=128, 
max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 
'ALL', 'rows_per_partition' : 'NONE'}, 
compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,
 options={max_threshold=32, min_threshold=4}}, 
compression=org.apache.cassandra.schema.CompressionParams@4388edc3, 
extensions={}},comparator=comparator(),partitionColumns=[[] | 
[value]],partitionKeyColumns=[ColumnDefinition{name=id, 
type=org.apache.cassandra.db.marshal.Int32Type, kind=PARTITION_KEY, 
position=0}],clusteringColumns=[],keyValidator=org.apache.cassandra.db.marshal.Int32Type,columnMetadata=[ColumnDefinition{name=id,
 type=org.apache.cassandra.db.marshal.Int32Type, kind=PARTITION_KEY, 
position=0}, ColumnDefinition{name=value, 
type=org.apache.cassandra.db.marshal.UTF8Type, kind=REGULAR, 
position=-1}],droppedColumns={},triggers=[],indexes=[]] to cfIdMap
DEBUG [GossipStage:1] 2016-05-30 16:00:17,204 MigrationManager.java:94 - Not 
pulling schema because versions match or shouldPullSchemaFrom returned false
INFO  [MigrationStage:1] 2016-05-30 16:00:17,210 ColumnFamilyStore.java:405 - 
Initializing test.test
ERROR [SharedPool-Worker-1] 2016-05-30 16:00:17,211 Keyspace.java:504 - 
Attempting to mutate non-existant table 99f5be60-267f-11e6-ad5f-f13d771494ea 
(test.test)
DEBUG [MigrationStage:1] 2016-05-30 16:00:17,297 MigrationManager.java:557 - 
Gossiping my schema version a8612214-71b9-3e94-863e-04dd77cbbb88
{code}

> dtest failure in replication_test.ReplicationTest.simple_test
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-11927
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11927
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: Jim Witschey
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node2.log, node2_debug.log, 
> node3.log, node3_debug.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_novnode_dtest/387/testReport/replication_test/ReplicationTest/simple_test
> Failed on CassCI build trunk_novnode_dtest #387
> Logs are attached.
> Unexpected error in question:
> {code}
> ERROR [SharedPool-Worker-1] 2016-05-30 16:00:17,211 Keyspace.java:504 - 
> Attempting to mutate non-existant table 99f5be60-267f-11e6-ad5f-f13d771494ea 
> (test.test)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to