morningman commented on a change in pull request #1003: Support kafka routine 
load
URL: https://github.com/apache/incubator-doris/pull/1003#discussion_r277966695
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -1688,10 +1700,13 @@ public long loadAccessService(DataInputStream dis, 
long checksum) throws IOExcep
     }
 
     public long loadTransactionState(DataInputStream dis, long checksum) 
throws IOException {
-        int size = dis.readInt();
-        long newChecksum = checksum ^ size;
-        globalTransactionMgr.readFields(dis);
-        return newChecksum;
+        if (Catalog.getCurrentCatalogJournalVersion() >= 
FeMetaVersion.VERSION_45) {
 
 Review comment:
   I just move this judgement inside the loadTransactionState() method.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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