diecui1202 closed pull request #2176: solve compatible issue with dubbo 2.5.9, 
2.5.10
URL: https://github.com/apache/incubator-dubbo/pull/2176
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/Version.java 
b/dubbo-common/src/main/java/org/apache/dubbo/common/Version.java
index c22242c817..983cbb98e1 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/Version.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/Version.java
@@ -35,7 +35,7 @@
     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 @@
      * 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<String, Integer> VERSION2INT = new 
HashMap<String, Integer>();
 
     static {
@@ -202,4 +202,4 @@ public static void checkDuplicate(String path, boolean 
failOnError) {
         }
     }
 
-}
\ No newline at end of file
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to