From 44b9139b1626b7b7603bb850b9bbc77cae0b5a7f Mon Sep 17 00:00:00 2001 From: jasonjoo2010 Date: Fri, 3 Aug 2018 14:08:26 +0800 Subject: [PATCH] solve compatible issue with dubbo 2.5.9, 2.5.10 (#2175) --- .../src/main/java/com/alibaba/dubbo/common/Version.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java b/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java index 99992d9bcf0..a0968357e44 100644 --- a/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java +++ b/dubbo-common/src/main/java/com/alibaba/dubbo/common/Version.java @@ -35,7 +35,7 @@ public final class Version { private static final Logger logger = LoggerFactory.getLogger(Version.class); // Dubbo RPC protocol version, for compatibility, it must not be between 2.0.10 ~ 2.6.2 - public static final String DEFAULT_DUBBO_PROTOCOL_VERSION = "2.0.1"; + public static final String DEFAULT_DUBBO_PROTOCOL_VERSION = "2.0.2"; // Dubbo implementation version, usually is jar version. private static final String VERSION = getVersion(Version.class, ""); @@ -43,7 +43,7 @@ public final class Version { * For protocol compatibility purpose. * Because {@link #isSupportResponseAttatchment} is checked for every call, int compare expect to has higher performance than string. */ - private static final int LOWEST_VERSION_FOR_RESPONSE_ATTATCHMENT = 20001; // 2.0.1 + private static final int LOWEST_VERSION_FOR_RESPONSE_ATTATCHMENT = 20002; // 2.0.2 private static final Map VERSION2INT = new HashMap(); static { @@ -202,4 +202,4 @@ public static void checkDuplicate(String path, boolean failOnError) { } } -} \ No newline at end of file +}