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

Yuqi Yan updated CASSANDRA-20083:
---------------------------------
    Description: 
When rebuilding a new cluster, we sometimes replace a node from the new ring, 
and the new node was bootstrapped the data from nodes in the new cluster. It's 
obvious that other nodes in the new cluster doesn't have any data yet, but the 
new node is then marking the ranges available. Later the nodetool rebuild just 
finished immediately.

It would be great to have an option to truncate this available ranges table in 
this nodetool so it'll just retry the rebuild.

[PR|https://github.com/apache/cassandra/pull/3691/files]

  was:
We ran into a scenario when rebuilding a new cluster, we replace node from the 
new ring and the new node was bootstrapped the data from nodes in the new 
cluster. It obviously doesn't have any data yet but it's marking the ranges 
available, later the nodetool rebuild just finish immediately because the node 
is marking everything available.

It would be great to have an option to truncate this table in this nodetool so 
it'll just retry the rebuild.

[PR|https://github.com/apache/cassandra/pull/3691/files]


> Nodetool rebuild should have option to truncate range table
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-20083
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20083
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Yuqi Yan
>            Priority: Normal
>
> When rebuilding a new cluster, we sometimes replace a node from the new ring, 
> and the new node was bootstrapped the data from nodes in the new cluster. 
> It's obvious that other nodes in the new cluster doesn't have any data yet, 
> but the new node is then marking the ranges available. Later the nodetool 
> rebuild just finished immediately.
> It would be great to have an option to truncate this available ranges table 
> in this nodetool so it'll just retry the rebuild.
> [PR|https://github.com/apache/cassandra/pull/3691/files]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to