Skip to content

Meta image version bigger than bdb log version #5218

@gengjun-git

Description

@gengjun-git

Describe the bug
如果bdb出现选主错乱的情况:有一个节点是master,但是另外两个都感知不到master,也收不到bdb的log。master节点每隔10s会打一个timestamp的log,所以master节点的log号会一直增加,在做image checkpoint的时候,master会把最新的image推送给另外两个fe,此时在另外两个fe中就会出现image的log号比dbd中的log号要大的情况。
此时如果用另外两个fe做元数据恢复,就会出现元数据操作重启失效的现象,因为bdb的log版本号比image的版本号小。

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions