This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2acd5efcd8 [improvement-log]print a log when got a lower image version
(#10910)
2acd5efcd8 is described below
commit 2acd5efcd8b2ef9085f5cdeeb61048f82f6b3476
Author: Yongqiang YANG <[email protected]>
AuthorDate: Tue Jul 19 08:29:58 2022 +0800
[improvement-log]print a log when got a lower image version (#10910)
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
index fbf341c029..e4f67a461f 100755
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
@@ -1515,6 +1515,9 @@ public class Catalog {
File dir = new File(this.imageDir);
MetaHelper.getRemoteFile(url, HTTP_TIMEOUT_SECOND * 1000,
MetaHelper.getOutputStream(filename, dir));
MetaHelper.complete(filename, dir);
+ } else {
+ LOG.warn("get an image with a lower version,
localImageVersion: {}, got version: {}",
+ localImageVersion, version);
}
} catch (Exception e) {
throw new IOException(e);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]