cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-2129) removetoken after removetoken rf error fails to work
Date Wed, 16 Mar 2011 19:33:29 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams updated CASSANDRA-2129:
----------------------------------------

    Attachment: 2129.txt

Patch to allow removing the token, and throw UE instead of an internal error when trying to
insert and the number of endpoints is less than the RF.

> 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.7.5
>
>         Attachments: 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