You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Haddad (JIRA)" <ji...@apache.org> on 2018/03/16 18:48:00 UTC

[jira] [Created] (CASSANDRA-14319) nodetool rebuild from DC lets you pass invalid datacenters

Jon Haddad created CASSANDRA-14319:
--------------------------------------

             Summary: nodetool rebuild from DC lets you pass invalid datacenters 
                 Key: CASSANDRA-14319
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14319
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jon Haddad


If you pass an invalid datacenter to nodetool rebuild, you'll get an error like this:

{code}
Unable to find sufficient sources for streaming range (3074457345618258602,-9223372036854775808] in keyspace system_distributed
{code}

Unfortunately, this is a rabbit hole of frustration if you are using caps for your DC names and you pass in a lowercase DC name, or you just typo the DC.  

Let's do the following:

# Check the DC name that's passed in against the list of DCs we know about
# If we don't find it, let's output a reasonable error, and list all the DCs someone could put in.
# Ideally we indicate which keyspaces are set to replicate to this DC and which aren't



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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