cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cassandra] JeetKunDoug commented on a change in pull request #396: CASSANDRA-15447 - Pass correct seed node through to InstanceConfig so it can set it properly when starting clusters on non-0 subnets.
Date Thu, 12 Dec 2019 17:57:57 GMT
JeetKunDoug commented on a change in pull request #396: CASSANDRA-15447 - Pass correct seed
node through to InstanceConfig so it can set it properly when starting clusters on non-0 subnets.
URL: https://github.com/apache/cassandra/pull/396#discussion_r357287625
 
 

 ##########
 File path: test/distributed/org/apache/cassandra/distributed/impl/InstanceConfig.java
 ##########
 @@ -239,20 +240,21 @@ public String getString(String name)
         return (String)params.get(name);
     }
 
-    public static InstanceConfig generate(int nodeNum, String ipAddress, NetworkTopology
networkTopology, File root, String token)
+    public static InstanceConfig generate(int nodeNum, String ipAddress, NetworkTopology
networkTopology, File root, String token, String seedIp)
     {
         return new InstanceConfig(nodeNum,
                                   networkTopology,
                                   ipAddress,
                                   ipAddress,
                                   ipAddress,
                                   ipAddress,
-                                  String.format("%s/node%d/saved_caches", root, nodeNum),
+                seedIp, String.format("%s/node%d/saved_caches", root, nodeNum),
 
 Review comment:
   Also weird indentation - will fix up.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


Mime
View raw message