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

The super large grace period of 1 day has proved to be harmful on #4986

Merged
merged 1 commit into from
May 16, 2024

Conversation

fulmicoton
Copy link
Contributor

@fulmicoton fulmicoton commented May 15, 2024

Cicada.

This PR lowers it to 2h.
For reminder, starting the detection of the node as dead, the node gets into a zombie state for 1h.

We do share its KVs.

From timeofdeath+1h to timeofdeath+2h, we won't share the node.

After 2h, we will delete the node from the state.

(We still do not really understand why the dead node number would keep increasing)

@fulmicoton fulmicoton requested a review from guilload May 15, 2024 07:54
@fulmicoton fulmicoton marked this pull request as ready for review May 15, 2024 07:54
Cicada.

This PR lowers it to 2h.
For reminder, starting the detection of the node as dead,
the node gets into a zombie state for 1h.

We do share its KVs.

From timeofdeath+1h to timeofdeath+2h, we won't share the node.

After 2h, we will delete the node from the state.
@fulmicoton fulmicoton force-pushed the decrease_dead_node_grace_period branch from b575de8 to 2143a76 Compare May 16, 2024 01:53
@fulmicoton fulmicoton merged commit c5c2b70 into main May 16, 2024
5 checks passed
@fulmicoton fulmicoton deleted the decrease_dead_node_grace_period branch May 16, 2024 01:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants