Details
-
Task
-
Status: Open
-
Low
-
Resolution: Unresolved
-
None
Description
GossipingPropertyFileSnitch (GPFS) has a compatibility mode which fallbacks to PropertyFileSnitch (PFS) to fetch rack/dc info from conf/cassandra-rackdc.properties when a node info is not found in Gossip.
The problem is that we supply a default conf/cassandra-rackdc.properties, which is loaded in clusters (as shown in the log below) and may affect ring layout before gossip settles potentially leading to issues such CASSANDRA-13948.
INFO [main] 2017-10-12 14:39:32,928 GossipingPropertyFileSnitch.java:64 - Loaded cassandra-topology.properties for compatibility
I see 2 options to preven this from causing similar problems in the future:
a) Remove PFS compatibility mode
a) Move conf/cassandra-rackdc.properties to examples or conf/examples.