HCOLL-134 ( release draft cut of the code so that I can test it across my network )

This commit is contained in:
Rob Austin
2014-10-06 20:24:14 +01:00
parent 84e6cc09f9
commit 1044ee5c03
@@ -99,7 +99,7 @@ public class NodeDiscovery {
externalizable.sendBootStrap(ourHostPort);
// once the count down latch is trigger we know we go something back from one of the nodes
if (countDownLatch.get().await(5, TimeUnit.MILLISECONDS))
if (countDownLatch.get().await(50, TimeUnit.MILLISECONDS))
break;
}
@@ -133,7 +133,7 @@ public class NodeDiscovery {
externalizable.sendBootStrap(proposedNodes);
// once the count down latch is trigger we know we go something back from one of the nodes
if (countDownLatch.get().await(5, TimeUnit.MILLISECONDS)) {
if (countDownLatch.get().await(50, TimeUnit.MILLISECONDS)) {
if (useAnotherIdentifier.get()) {
// given that another node host proposed the same identifier, we will choose a different one.
LOG.info("Another node is using identifier=" + identifier + ", " +