-
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
release-23.1: backupccl: add missing ctx cancel check #111245
Conversation
In #111159 we deduced from the stacks a situation in which the goroutine draining `spanCh` had exited due to a context cancelation but the writer was not listening for a ctx cancelation. This manifests as a stuck restore when using the non-default make simple import spans implementation. Fixes: #111159 Release note: None
b08ec85
to
9ff8467
Compare
c80b3fd
to
57cec5c
Compare
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
Reminder: it has been 3 weeks please merge or close your backport! |
Friendly ping: @msbutler is this something we want to merge? |
Backport 1/1 commits from #111231 on behalf of @adityamaru.
/cc @cockroachdb/release
In #111159 we deduced from the stacks a
situation in which the goroutine draining
spanCh
had exited due to a context cancelation but thewriter was not listening for a ctx cancelation.
This manifests as a stuck restore when using
the non-default make simple import spans implementation.
Fixes: #111159
Release note: None
Release justification: bug fix that could cause the restore to hang on shutdown