apache / apache/cassandra-ccm

Upgrading a node resets that node's cassandra-topology.properties

Open
#697 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

Using current ccm installed via pip (3.1.4), when I upgrade a node using the following steps, the cassandra-topology.properties in that node's conf dir reverts to defaults.

ccm nodeN stop
ccm nodeN setdir -v 3.11.4
ccm nodeN start

This results in the node being unable to start, because of:

ERROR [main] 2019-04-01 14:06:34,979 CassandraDaemon.java:749 - Cannot start node if snitch's data center (DC1) differs from previous data center (dc2). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.