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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]