Skip to content

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

@qizhou

Description

@qizhou

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.

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