[
https://issues.apache.org/jira/browse/CASSANDRA-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008105#comment-13008105
]
Brandon Williams commented on CASSANDRA-2129:
---------------------------------------------
Because it calls rs.getNaturalEndpoints first, which throws ISE and SP.mutate
only catches IOException. I'm a little uneasy with catching both IOE and ISE,
or modifying the RS to throw IOE, but I'm not sure what the best solution is.
The patch as-is still has ISE problems, at least on describe_keyspace.
> 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