Skip to content

Allow checkpointing to be performed on the candidate leader node. #361

Description

@yangsw26

Currently, checkpointing is only allowed on the leader node. This can lead to a potential node recovery deadlock: a large amount of data log replay fills up memory, and since checkpointing is not performed on the candidate leader node, the data in memory is not persisted and therefore cannot be evicted, preventing log replay from completing.

To resolve this issue, checkpointing must be allowed on the candidate leader node. Additionally, the requests involved in this process need to match the candidate term.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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