Skip to content

BDB meta version log check bug #4232

@gengjun-git

Description

@gengjun-git

https://github.com/apache/incubator-doris/blob/master/fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java#L515
Version check using MetaContext seems meaningless. Code should be

         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);
                System.exit(-1);
         }

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/catalogIssues or PRs related to catalog managementkind/fixCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions