Github user jolynch commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/212#discussion_r225732818
  
    --- Diff: 
src/java/org/apache/cassandra/net/StartupClusterConnectivityChecker.java ---
    @@ -73,56 +80,84 @@ public static StartupClusterConnectivityChecker 
create(int targetPercent, int ti
          * @return true if the requested percentage of peers are marked ALIVE 
in gossip and have their connections opened;
          * else false.
          */
    -    public boolean execute(Set<InetAddressAndPort> peers)
    +    public boolean execute(Set<InetAddressAndPort> peers, 
Function<InetAddressAndPort, String> getDatacenter)
         {
    -        if (targetPercent == 0 || peers == null)
    +        if (peers == null)
    --- End diff --
    
    Yea that was my idea, that we should always prime the connections but we 
can just not wait (if you set the local dc option to a really large number then 
it basically primes and immediately returns).


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to