From 96af22be577ae7f20e4ff33717bc799d7b6595c3 Mon Sep 17 00:00:00 2001 From: "tiger.yan" Date: Thu, 18 Jun 2020 14:25:17 +0800 Subject: [PATCH] 1.CVE-2018-10237 2.typo (#1892) --- pom.xml | 32 ++++++++++++++----- .../backend/heartbeat/MySQLHeartbeat.java | 2 +- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 970de82ad..69f775c9e 100644 --- a/pom.xml +++ b/pom.xml @@ -48,11 +48,6 @@ Maven Repository Switchboard https://repo1.maven.org/maven2/ - - repo2 - Human Readable Name for this Mirror. - https://repo2.maven.org/maven2/ - jenkins Jenkins Releases Repository @@ -74,7 +69,7 @@ com.google.guava guava - 19.0 + 24.1.1-jre com.alibaba @@ -206,12 +201,24 @@ org.apache.curator curator-framework - 2.11.0 + 4.2.0 + + + org.apache.zookeeper + zookeeper + + org.apache.curator curator-recipes - 2.11.0 + 4.2.0 + + + org.apache.zookeeper + zookeeper + + org.apache.curator @@ -223,8 +230,17 @@ log4j log4j + + org.apache.zookeeper + zookeeper + + + org.apache.zookeeper + zookeeper + 3.4.6 + joda-time diff --git a/src/main/java/com/actiontech/dble/backend/heartbeat/MySQLHeartbeat.java b/src/main/java/com/actiontech/dble/backend/heartbeat/MySQLHeartbeat.java index 7cba2568c..6b15b6180 100644 --- a/src/main/java/com/actiontech/dble/backend/heartbeat/MySQLHeartbeat.java +++ b/src/main/java/com/actiontech/dble/backend/heartbeat/MySQLHeartbeat.java @@ -239,7 +239,7 @@ public class MySQLHeartbeat { long timeDiff = System.currentTimeMillis() - this.startErrorTime.longValue(); if (timeDiff >= heartbeatTimeout) { if (LOGGER.isDebugEnabled()) { - LOGGER.debug("error heartbaet continued for more than " + timeDiff + " Milliseconds and heartbeat Timeout is " + heartbeatTimeout + " Milliseconds"); + LOGGER.debug("error heartbeat continued for more than " + timeDiff + " Milliseconds and heartbeat Timeout is " + heartbeatTimeout + " Milliseconds"); } return false; }