Skip to content

Conversation

@ajwerner
Copy link
Contributor

In #39188 we see a fatal assertion failure fire because an invariant is violated
while running a deferred function. It is true that the invariant is violated but
it's violated because the goroutine is panicking and the function which
maintains this invariant was not run to completion.

This commit detects panics and avoid running the function which might fatal the
process.

Release note: None

In cockroachdb#39188 we see a fatal assertion failure fire because an invariant is violated
while running a deferred function. It is true that the invariant is violated but
it's violated because the goroutine is panicking and the function which
maintains this invariant was not run to completion.

This commit detects panics and avoid running the function which might fatal the
process.

Release note: None
@ajwerner ajwerner requested a review from a team July 31, 2019 16:48
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner
Copy link
Contributor Author

ajwerner commented Aug 1, 2019

Superseded by #39203.

@ajwerner ajwerner closed this Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants