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

Michael Shuler commented on CASSANDRA-7205:
-------------------------------------------

for the original poster, I went back to my 2.0.6 cluster - if you cannot 
upgrade, resetlocalschema should resolve this for you:
{noformat}
mshuler@hana:~$ ccm node1 cqlsh
Connected to test206 at 127.0.0.1:9160.
[cqlsh 4.1.1 | Cassandra 2.0.6-SNAPSHOT | CQL spec 3.1.1 | Thrift protocol 
19.39.0]
Use HELP for help.
cqlsh> DESC KEYSPACES 

system  system_traces

cqlsh> 
mshuler@hana:~$ ccm node1 nodetool resetlocalschema
mshuler@hana:~$ ccm node1 cqlsh
Connected to test206 at 127.0.0.1:9160.
[cqlsh 4.1.1 | Cassandra 2.0.6-SNAPSHOT | CQL spec 3.1.1 | Thrift protocol 
19.39.0]
Use HELP for help.
cqlsh> DESC KEYSPACES 

system  foo  system_traces

cqlsh> SELECT * from foo.bar ;

 key  | value
------+--------
 blah | blargh

(1 rows)

cqlsh>
{noformat}

> Node never know a table has been DROP or CREATE if its gossip is disabled 
> while executing this query
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7205
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7205
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 2.0.6
>            Reporter: Zhe Yang
>            Assignee: Michael Shuler
>
> I'm using Cassandra 2.0.6 and I have 8 nodes. I'm doing some tests by using 
> operations below:
> disable gossip of node A;
> check the status by nodetool in other node, node A is Down now;
> use cqlsh connecting an "Up" node and create a table;
> enable gossip of node A;
> check the status, all nodes are "Up" now.
> Then I find that node A doesn't know this table has been created. Both its 
> own cql shell and nodetool cfstats tell me the table doesn't exist. Even 
> waiting for a few minutes to get the "eventual consistency" final status, 
> node A still doesn't know this table.  And I find if each node knows there is 
> a table but I drop it when one node's gossip is disabled, this node will 
> never know the table has been dropped.
> Is this a bug?



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

Reply via email to