You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yiguolei (via GitHub)" <gi...@apache.org> on 2023/07/21 05:03:45 UTC
[GitHub] [doris] yiguolei commented on a diff in pull request #22047: [feature](executor) using fe version to set instance_num
yiguolei commented on code in PR #22047:
URL: https://github.com/apache/doris/pull/22047#discussion_r1270227207
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -5329,6 +5338,45 @@ private static void addTableComment(Table table, StringBuilder sb) {
}
}
+ private void writeVersion() {
+ // "Write down the latest version of FE.
+ String fileName = this.metaDir + VERSION_FILE;
+ try (FileWriter fileWriter = new FileWriter(fileName)) {
+ fileWriter.write(CURRENT_FE_VERSION + "");
+ } catch (IOException e) {
+ e.printStackTrace();
Review Comment:
use logger.info("xxxxx",e)
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org