[ https://issues.apache.org/jira/browse/CASSANDRA-14319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720437#comment-17720437 ]
Stefan Miklosovic edited comment on CASSANDRA-14319 at 5/11/23 2:43 PM: ------------------------------------------------------------------------ trunk https://github.com/apache/cassandra/pull/2309 j11 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2185/workflows/c0b0e974-fdb1-4410-a180-fc8890c9a7e5 j8 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2185/workflows/4fc8308c-3f07-4b41-9ad3-3a20a547c0e9 4.1 https://github.com/apache/cassandra/pull/2323 j11 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2191/workflows/47f1d14c-e781-46d5-b68e-ff74a20fd8d1 j8 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2191/workflows/e9dd84d7-5958-4297-949d-e7a2c0de31a6 4.0 https://github.com/apache/cassandra/pull/2324 j11 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2192/workflows/ef27fb13-21b2-4e3d-8bea-52dfa5fe9ab1 j8 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2192/workflows/707a5302-fda0-41b8-8c9e-710897022562 was (Author: smiklosovic): trunk https://github.com/apache/cassandra/pull/2309 j11 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2185/workflows/c0b0e974-fdb1-4410-a180-fc8890c9a7e5 j8 https://app.circleci.com/pipelines/github/instaclustr/cassandra/2185/workflows/4fc8308c-3f07-4b41-9ad3-3a20a547c0e9 > 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 > Components: Tool/nodetool > Reporter: Jon Haddad > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.x > > Attachments: CASSANDRA-14319-trunk.txt > > Time Spent: 10m > Remaining Estimate: 0h > > 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 (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org