Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add new node to the cluster if I don't specify data-center explicitly. #104

Open
nyh opened this issue Mar 11, 2018 · 0 comments
Open
Labels

Comments

@nyh
Copy link
Contributor

nyh commented Mar 11, 2018

In materialized_views_test.py I wanted to add a test doing something like:

        session = self.prepare(rf=rf)
        session.execute("CREATE TABLE t (id int PRIMARY KEY, v int)")
        node4 = new_node(self.cluster)
        node4.start(wait_other_notice=True, wait_for_binary_proto=True) 

This did not work... The fourth Scylla instance failed to start up. The problem was that the file
/home/nyh/.dtest/dtest-kawO4S/test/node4/conf/cassandra-rackdc.properties instead of containing

dc=dc1
rack=RAC1

as was expected, it contain a comment with explanation, but no content, apparently copied from the default Cassandra configuration.

If I change the code to explicitly specify the data center:

        node4 = new_node(self.cluster, data_center='dc1')

Everything works.

@fruch fruch added the bug label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants