-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Raft stuck on writing hard state #1573
Comments
the stopper gets stuck on
The MultiRaft goroutine is correspondingly stuck waiting for the |
I am tempted to say this isn't our fault, but I don't know enough about potential reasons for a cgo call to get stuck. |
Is it blocked, or is it busy-looping? There's no "blocked for 30s" message on any of the stack traces, although I'm not sure what exactly causes those to appear. I think it's more likely that we're updating HardState frequently and that just happened to be where the thread was when we reached the timeout. |
I think the threshold for those messages is higher (1 minute?) |
I can't tell from the Trace unfortunately, but the annotations on the stack trace I've only seen for |
it might well be an infinite loop - with The command which is running is an |
this will a) log more, which is relevant for cockroachdb#1573 and b) log traces for all requests made during tests.
With no useful logs above and many changes to the codebase (including Raft) in the meantime, I'm going to close this. If it happens again, we'll have more information. |
The following test appears to have failed:
#4308:
Please assign, take a look and update the issue accordingly.
The text was updated successfully, but these errors were encountered: