Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need recovery mechanism to solve a shard block that is processed at shard but not processed at root #937

Open
qizhou opened this issue Jan 24, 2022 · 0 comments

Comments

@qizhou
Copy link
Contributor

qizhou commented Jan 24, 2022

When the cluster shuts down (either gracefully or ungracefully), it is likely to enter a cluster inconsistent state, e.g.,

  • a shard block is processed, and then the cluster is shut down before the root state has processed the shard block, which means that the root block may never include the shard block later.
    Example code here:
    if not self.root_state.db.contain_minor_block_by_hash(

A solution of this may ask the shard to response the shard block to the master so that the master can process the shard block again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant