Github user jolynch commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/212#discussion_r228386047
--- 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 --
In the latest version I added the ability to disable this by setting a
negative timeout. I guess it's probably a good idea to have an opt out option
since we're post freeze.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]