[
https://issues.apache.org/jira/browse/CASSANDRA-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500056#comment-17500056
]
Jan Karlsson edited comment on CASSANDRA-17407 at 3/2/22, 11:09 AM:
--------------------------------------------------------------------
Sure thing. I created a
[dtest|https://github.com/apache/cassandra-dtest/compare/trunk...itskarlsson:c17407-trunk?expand=1]
that tests this behavior.
I added a check for the validation of the local data center as well as I
couldn't find any other place where we test this.
was (Author: jan karlsson):
Sure thing. I created a
[test|https://github.com/apache/cassandra-dtest/compare/trunk...itskarlsson:c17407-trunk?expand=1]
that tests this behavior.
I added a check for the validation of the local data center as well as I
couldn't find any other place where we test this.
> 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: [email protected]
For additional commands, e-mail: [email protected]