Commit 57a19c2 1 parent 362169f commit 57a19c2 Copy full SHA for 57a19c2
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -418,10 +418,10 @@ private static InetAddress guessInetAddress(List<InetAddress> ips) {
418
418
// using google's DNS server as an external IP to find
419
419
// Add a timeout to the touch of google.
420
420
// https://0xdata.atlassian.net/browse/HEX-743
421
- s = new Socket ();
421
+ s = new Socket ();
422
422
// only 3000 milliseconds before giving up
423
423
// Exceptions: IOException, SocketTimeoutException, plus two Illegal* exceptions
424
- s .connect (new InetSocketAddress ("8.8.8.8" , 53 ), 3000 );
424
+ s .connect (new InetSocketAddress ("8.8.8.8" , 53 ), 3000 );
425
425
m +="Using " + s .getLocalAddress () + "\n " ;
426
426
return s .getLocalAddress ();
427
427
} catch ( java .net .SocketException se ) {
@@ -708,6 +708,7 @@ public static class OptArgs extends Arguments.Opt {
708
708
public String single_precision = null ;
709
709
public String beta = null ;
710
710
public String mem_watchdog = null ; // For developer debugging
711
+ public boolean md5skip = false ;
711
712
}
712
713
713
714
public static void printHelp () {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public abstract class Paxos {
39
39
static synchronized int doHeartbeat ( H2ONode h2o ) {
40
40
// Kill somebody if the jar files mismatch. Do not attempt to deal with
41
41
// mismatched jars.
42
- if ( !h2o ._heartbeat .check_jar_md5 () ) {
42
+ if ( !H2O . OPT_ARGS . md5skip && ! h2o ._heartbeat .check_jar_md5 () ) {
43
43
if ( H2O .CLOUD .size () > 1 ) {
44
44
Log .warn ("Killing " +h2o +" because of H2O version mismatch (md5 differs)." );
45
45
UDPRebooted .T .mismatch .send (h2o );
You can’t perform that action at this time.
0 commit comments