yiguolei commented on code in PR #22047:
URL: https://github.com/apache/doris/pull/22047#discussion_r1271271952


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -871,8 +880,23 @@ public void initialize(String[] args) throws Exception {
             }
         }
         File imageDir = new File(this.imageDir);
+        File verDir = new File(this.versionDir);
+
         if (!imageDir.exists()) {

Review Comment:
   if (!imageDir.exists) {
   imageDir.mkdirs();
   }
   if (!versionDir.exists()) {
   versionDir.mkdirs();
   }
   
   getPreviousVersion(); // previous version == unknown;
   {
    files[] aa = listdir();
     aa. name .split('-')[3]
     
   previousVersion = xxx;
   
   }
   writeLatestVersion() {
   // if currentVersion == previousVersion
   else {}
   
   }
   
   1_2_0-commitid-seq-version
   
   1.2.0-->1.2.1-->1.2.0
   
   
   



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to