kvcoord: Close done context if init fails#98268
kvcoord: Close done context if init fails#98268craig[bot] merged 1 commit intocockroachdb:masterfrom
Conversation
|
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. |
erikgrinaker
left a comment
There was a problem hiding this comment.
LGTM. Worth a test case?
|
I'm not sure this is a problem. I wrote this yesterday, in a bit of a
rush.. going to look at it more
…On Thu, Mar 9, 2023, 4:34 AM Erik Grinaker ***@***.***> wrote:
***@***.**** approved this pull request.
LGTM. Worth a test case?
—
Reply to this email directly, view it on GitHub
<#98268 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANA4FVAB53CDL5QOQ3K2EKDW3GPY5ANCNFSM6AAAAAAVUNDVUY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
I will likely close this pr |
When we close mux rangefeed init context due to an error, it is important to also close client done context so that this error can be propagated to the caller. Release note: None
|
@erikgrinaker -- I just pushed a change which I think might explain how things got stuck. PTAL. |
|
bors r+ |
|
bors r+ |
|
Already running a review |
|
Build failed: |
|
bors r+ |
|
Build succeeded: |
When we close mux rangefeed init context due to an error, it is important to also close client done context so that this error can be propagated to the caller.
Epic: None
Release note: None