Skip to content

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Dec 31, 2022

Prevent a race where a client may attempt to use a stream before it is registered.

Addresses #7885

Prevent a race where a client may attempt to use a stream
before it is registered.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan dmcgowan marked this pull request as ready for review January 4, 2023 07:05
@dmcgowan
Copy link
Member Author

dmcgowan commented Jan 4, 2023

I'm not seeing the error show up after many runs of CI with both the fixes in place.

@dmcgowan dmcgowan changed the title [streaming] Move response packet after registration Fix race between stream registration and use Jan 4, 2023
Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 72e5ddb into containerd:main Jan 4, 2023
@fangn2
Copy link
Contributor

fangn2 commented Jan 5, 2023

I'm not seeing the error show up after many runs of CI with both the fixes in place.

@dmcgowan
Side question, how can I trigger multiple builds on the same commit, or rerun a failed build as a contributor? Seems that's the option only available to admins.
With random failures on tests, there seems no good way to retry a build except a force push(by updating the commit).

@samuelkarp
Copy link
Member

Side question, how can I trigger multiple builds on the same commit, or rerun a failed build as a contributor? Seems that's the option only available to admins.

Unfortunately that's a limitation of GitHub that we're not able to do much about. Force-push, close/reopen, or pinging a maintainer and asking one of us to do it are the ways to trigger a rerun. (If you see a failure you think is unrelated, it's worth noting that in a comment on the PR too.)

@fangn2
Copy link
Contributor

fangn2 commented Jan 5, 2023

@samuelkarp Thanks for clarifying that!

@dmcgowan dmcgowan deleted the fix-transfer-register-ordering branch April 20, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants