cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2129) removetoken after removetoken rf error fails to work
Date Thu, 14 Jul 2011 22:15:59 GMT

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

Hudson commented on CASSANDRA-2129:
-----------------------------------

Integrated in Cassandra-0.8 #215 (See [https://builds.apache.org/job/Cassandra-0.8/215/])
    Allow RF to exceed the number of nodes (but disallow writes)
Patch by brandonwilliams, reviewed by Pavel Yaskevich for CASSANDRA-2129

brandonwilliams : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1146900
Files : 
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/OldNetworkTopologyStrategy.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/SimpleStrategy.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/NetworkTopologyStrategy.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/WriteResponseHandler.java


> removetoken after removetoken rf error fails to work
> ----------------------------------------------------
>
>                 Key: CASSANDRA-2129
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2129
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Mike Bulman
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.8.2
>
>         Attachments: 2129-v2.txt, 2129.txt
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 2 node cluster, a keyspace existed with rf=2.  Tried removetoken and got:
> mbulman@ripcord-maverick1:/usr/src/cassandra/tags/cassandra-0.7.0$ bin/nodetool -h localhost
removetoken 159559397954378837828954138596956659794
> Exception in thread "main" java.lang.IllegalStateException: replication factor (2) exceeds
number of endpoints (1)
> Deleted the keyspace, and tried again:
> mbulman@ripcord-maverick1:/usr/src/cassandra/tags/cassandra-0.7.0$ bin/nodetool -h localhost
removetoken 159559397954378837828954138596956659794
> Exception in thread "main" java.lang.UnsupportedOperationException: This node is already
processing a removal. Wait for it to complete.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message