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

[v23.1.x] raft/state_machine: sleep after apply error #15286

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Dec 4, 2023

Sleeping in case of apply error helps avoiding busy-looping that leads to 100% reactor util and hard-to-investigate incidents.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.2.x
  • v23.1.x
  • v22.3.x

Release Notes

Improvements

  • Avoid 100% reactor utilization in case of state machine errors.

Sleeping in case of apply error helps avoiding busy-looping that leads
to 100% reactor util and hard-to-investigate incidents.
@ztlpn ztlpn merged commit a38243c into redpanda-data:v23.1.x Dec 4, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants