print image's version when it is higher than FEConstants.meta_version (#10908)

This commit is contained in:
Yongqiang YANG
2022-07-16 19:26:47 +08:00
committed by GitHub
parent f78db1d773
commit f0babfdcf8

View File

@ -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);