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

kvserver: warn more aggressively about slow AddSST apply #80160

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

tbg
Copy link
Member

@tbg tbg commented Apr 19, 2022

AddSST application is "just" a hard-link on any kind of reasonable file system,
so it shouldn't take north of 30s ever. Anecdotally, during a recent spat of
experiments, I never saw this logging fire despite raft handling cycles taking
upward of 450s. So this is almost certainly too conservative.

Change the timeout to a 500ms cutoff, which matches the "slow raft ready"
message.

Release note: None

AddSST application is "just" a hard-link on any kind of reasonable file system,
so it shouldn't take north of 30s ever. Anecdotally, during a recent spat of
experiments, I never saw this logging fire despite raft handling cycles taking
upward of 450s. So this is almost certainly too conservative.

Change the timeout to a 500ms cutoff, which matches the "slow raft ready"
message.

Release note: None
@tbg tbg requested a review from a team as a code owner April 19, 2022 12:33
@tbg tbg requested a review from a team April 19, 2022 12:33
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member Author

tbg commented Apr 25, 2022

bors r=erikgrinaker
TFTR!

@craig
Copy link
Contributor

craig bot commented Apr 25, 2022

Build succeeded:

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.

3 participants