[
https://issues.apache.org/jira/browse/CASSANDRA-6971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963288#comment-13963288
]
Russ Hatch commented on CASSANDRA-6971:
---------------------------------------
[~brandon.williams] Not sure where I went wrong, but I can't get the patch to
apply cleanly to latest cassandra-1.2 branch. It will apply to trunk but I
haven't seen the bug there, and I think the way it applies to trunk would
result in dead code since we get a duplicate SCHEMA case:
{noformat}
case SCHEMA:
SystemKeyspace.updatePeerInfo(endpoint, "schema_version",
value.value);
break;
case HOST_ID:
SystemKeyspace.updatePeerInfo(endpoint, "host_id",
value.value);
break;
case SCHEMA:
MigrationManager.instance.scheduleSchemaPull(endpoint,
epState);
{noformat}
> nodes not catching up to creation of new keyspace
> -------------------------------------------------
>
> Key: CASSANDRA-6971
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6971
> Project: Cassandra
> Issue Type: Bug
> Reporter: Russ Hatch
> Assignee: Brandon Williams
> Attachments: 6971-debugging.txt, 6971.txt, debug1.log, debug2.log,
> debug3.log, node1.log, node1.log, node2.log, node2.log, node3.log, node3.log
>
>
> The dtest suite is running a test which creates a 3 node cluster, then adds a
> keyspace and column family. For some reason the 3 nodes are not agreeing on
> the schema version. The problem is intermittent -- either the nodes all agree
> on schema quickly, or they seem to stay stuck in limbo.
> The simplest way to reproduce is to run the dtest (simple_increment_test):
> https://github.com/riptano/cassandra-dtest/blob/master/counter_tests.py
> using nosetests:
> {noformat}
> nosetests -vs counter_tests.py:TestCounters.simple_increment_test
> {noformat}
> If the problem is reproduced nose will return this:
> ProgrammingError: Bad Request: Keyspace 'ks' does not exist
> I am not yet sure if the bug is reproducible outside of the dtest suite.
--
This message was sent by Atlassian JIRA
(v6.2#6252)