-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
rangefeed: fix sendMetadata deadlock #123519
Conversation
If the rangefeed client's context is cancelled before a metadata event is sent on the event channel, the rangefeed could hang forever. This bug was introduced in cockroachdb#123001. Fixes cockroachdb#123355 Fixes cockroachdb#123397 Release note: none
Epic: none Release note: none
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. |
FYI that I'm removing the backport to v24.1.0-rc, as the rc candidate is building now. thanks! |
The issue affects 24.1 and 24.1.0 as well, but I think we can live with it in 24.1.0 |
TFTR! bors r=dt |
Build failed:
|
unrelated unit test flake bors r+ |
blathers backport release-24.1.0-rc |
If the rangefeed client's context is cancelled before a metadata event is sent
on the event channel, the rangefeed could hang forever. This bug was introduced
in #123001.
Fixes #123355
Fixes #123397
Release note: none