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

[v22.2.x] admin: Add blocked_reactor_notify_ms command #9356

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

Lazin
Copy link
Contributor

@Lazin Lazin commented Mar 9, 2023

The command changes the timeout of stall detector for brief period of time.

curl -XPUT "127.0.0.1:9644/v1/config/blocked_reactor_notify_ms/1?expires=15"

This command will change the value to 1ms and it will be reset back after 15 seconds. If 'expires' parameter is not set the default expire value will be used. The default is 5 minutes.

(cherry picked from commit f09dda9)

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.1.x
  • v22.3.x
  • v22.2.x

Release Notes

Features

  • Add admin API command that changes --blocked-reactor-notify-ms parameter on the fly.

The command changes the timeout of stall detector for brief period of
time.

curl -XPUT  "127.0.0.1:9644/v1/config/blocked_reactor_notify_ms/1?expires=15"

This command will change the value to 1ms and it will be reset back
after 15 seconds. If 'expires' parameter is not set the default expire
value will be used. The default is 5 minutes.

(cherry picked from commit f09dda9)
@Lazin Lazin requested a review from andrwng March 9, 2023 19:37
@andrwng andrwng merged commit ab057c5 into redpanda-data:v22.2.x Mar 10, 2023
@vshtokman vshtokman added this to the v22.2.11 milestone Mar 10, 2023
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.

3 participants