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

Slow plugin causing loss of raft leadership #28009

Open
haraldh opened this issue Aug 7, 2024 · 0 comments
Open

Slow plugin causing loss of raft leadership #28009

haraldh opened this issue Aug 7, 2024 · 0 comments

Comments

@haraldh
Copy link

haraldh commented Aug 7, 2024

I have one plugin, which is taking a while to start (on the os execve level). This seems to make the raft leader inresponsive and it loses its leadership. With the newly elected leader trying to start the plugin, the game starts from the beginning.

Workarounds included tweaking:

  performance_multiplier       = 200

But this really slows down everything raft related.

Anyway, it would be nice, if the raft leadership won't get lost by slow plugin loading...

haraldh added a commit to matter-labs/teepot that referenced this issue Aug 7, 2024
The vault instances lose the raft leader status, while loading
the `vault-auth-tee` plugin, because the gramine enviroment slows
down the `execve` significantly.

Using `performance_multiplier` relaxes the timeouts for the raft protocol.

see also: hashicorp/vault#28009

Signed-off-by: Harald Hoyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants