You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Saranya Krishnakumar (Jira)" <ji...@apache.org> on 2022/08/31 00:11:00 UTC
[jira] [Updated] (CASSANDRA-17870) nodetool/rebuild: C* rebuilds from local (new dc) dc nodes if src-dc is not passed
[ https://issues.apache.org/jira/browse/CASSANDRA-17870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saranya Krishnakumar updated CASSANDRA-17870:
---------------------------------------------
Change Category: Operability
Complexity: Low Hanging Fruit
Component/s: Tool/nodetool
Status: Open (was: Triage Needed)
> nodetool/rebuild: C* rebuilds from local (new dc) dc nodes if src-dc is not passed
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-17870
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17870
> Project: Cassandra
> Issue Type: Improvement
> Components: Tool/nodetool
> Reporter: Saranya Krishnakumar
> Assignee: Saranya Krishnakumar
> Priority: Normal
>
> During expansion by Dc, when we issue nodetool/rebuild from new dc to rebuild the data from other DCs. If src-dc is not passed explicitly, then C* tries to rebuild the data from the same (new dc) dc.
> We don’t exclude other nodes in the same DC. Only down sources and the local node itself are excluded.
> ```
> // We're _always_ filtering out a local node and down sources
> addSourceFilter(new RangeStreamer.FailureDetectorSourceFilter(failureDetector));
> addSourceFilter(new RangeStreamer.ExcludeLocalNodeFilter());
> ```
> We should fix nodetool/rebuild to exclude the local DC (from where we’re executing the command) while issuing nodetool/rebuild without passing src dc
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org