This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new a4f3d43 fix version check bug (#4244) a4f3d43 is described below commit a4f3d43e1599683a6d058d5996dfd7a601912ea9 Author: gengjun-git <54172532+gengjun-...@users.noreply.github.com> AuthorDate: Wed Aug 5 21:45:36 2020 +0800 fix version check bug (#4244) Co-authored-by: gengjun <geng...@dorisdb.com> --- 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 d7a8ecf..027c7f1 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 @@ -515,7 +515,7 @@ public class EditLog { case OperationType.OP_META_VERSION: { String versionString = ((Text) journal.getData()).toString(); int version = Integer.parseInt(versionString); - if (MetaContext.get().getMetaVersion() > FeConstants.meta_version) { + 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); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org