-
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
kv: add debug information to track down #77663 #82151
kv: add debug information to track down #77663 #82151
Conversation
c38e7b2
to
4ee56ed
Compare
log.Event(ctx, "optimistically sequencing request") | ||
case PessimisticAfterFailedOptimisticEval: | ||
branch = 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these branches will not fire given the panic underneath, right?
maybe you want a defer
that wraps the branch number around the panic object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, they won't fire, so this is intentionally dead code. I removed it.
I've given cockroachdb#77663 a few looks and have yet to understand how it is possible to hit that assertion. To continue making progress, this commit adds additional debug information to the assertion so that we'll be able to understand this better if it happens again.
4ee56ed
to
8e6b85b
Compare
TFTR! bors r=irfansharif |
Build failed (retrying...): |
Build succeeded: |
I've given #77663 a few looks and have yet to understand how it is
possible to hit that assertion. To continue making progress, this commit
adds additional debug information to the assertion so that we'll be able
to understand this better if it happens again.