You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2021/01/28 06:52:00 UTC

[jira] [Created] (CASSANDRA-16411) Fix topology corruption on joining nodes without DC in dtests

Berenguer Blasi created CASSANDRA-16411:
-------------------------------------------

             Summary: Fix topology corruption on joining nodes without DC in dtests
                 Key: CASSANDRA-16411
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16411
             Project: Cassandra
          Issue Type: Bug
          Components: Test/dtest/python
            Reporter: Berenguer Blasi
            Assignee: Berenguer Blasi


Dtests with multi-dc setups don't update the topology properties file of a newly joining node post cluster creation.

The new node will join dc1 but it's snitch will report the default snitch config == dc1 == all nodes are in dc1 == there are no other dcs. That leads to bootstrap, token, startup,... problems.

Solution: When a new node is created in dtests check for existing dcs. If there are any update the topology file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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