You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/02/28 17:25:00 UTC

[jira] [Commented] (CASSANDRA-17407) Validate existence of DCs when repairing

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

Brandon Williams commented on CASSANDRA-17407:
----------------------------------------------

I would say it is a bug that we don't provide any kind of indication when you pass nonexistent DCs.  Jan, happy to take a patch here if you are so kind as to provide one.

> Validate existence of DCs when repairing
> ----------------------------------------
>
>                 Key: CASSANDRA-17407
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17407
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Repair
>            Reporter: Jan Karlsson
>            Assignee: Jan Karlsson
>            Priority: Normal
>             Fix For: 3.11.x, 4.0.x
>
>
> With the new validation of data centers in the replication factor, it might be good to give similar treatment to repair.
> Currently the behavior of the --in-dc flag only validates that it contains the local data center.
> If a list is given containing nonexistent data centers, the repair will pass without errors or warning as long as this list also contains the local data center.
> My suggestion would be to validate all the data centers and give an error when a nonexistent data center is given.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org