You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/16 11:26:54 UTC

[doris] branch master updated: print image's version when it is higher than FEConstants.meta_version (#10908)

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 f0babfdcf8 print image's version when it is higher than FEConstants.meta_version (#10908)
f0babfdcf8 is described below

commit f0babfdcf8a52845694be07aa366ba78d4ff1e18
Author: Yongqiang YANG <98...@users.noreply.github.com>
AuthorDate: Sat Jul 16 19:26:47 2022 +0800

    print image's version when it is higher than FEConstants.meta_version (#10908)
---
 fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java b/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
index 62420003bb..594d8c634e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java
@@ -467,7 +467,7 @@ public class EditLog {
                     if (version > FeConstants.meta_version) {
                         LOG.error("meta data version is out of date, image: {}. meta: {}."
                                 + "please update FeConstants.meta_version and restart.",
-                                MetaContext.get().getMetaVersion(), FeConstants.meta_version);
+                                version, FeConstants.meta_version);
                         System.exit(-1);
                     }
                     MetaContext.get().setMetaVersion(version);


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