Skip to content

Comments

[v0.5] sync-server: Fix infinite loop caused by accept erro#274

Merged
lifupan merged 1 commit intocontainerd:0.5.0from
Tim-Zhang:fix-infinite-accept-loop-master-0.5.0
Jan 14, 2025
Merged

[v0.5] sync-server: Fix infinite loop caused by accept erro#274
lifupan merged 1 commit intocontainerd:0.5.0from
Tim-Zhang:fix-infinite-accept-loop-master-0.5.0

Conversation

@Tim-Zhang
Copy link
Member

Also Add the method set_accept_retry_interval.

Since poll is level-triggered, an uncorrected error can lead to an infinite loop, so we sleep for a while and wait for the error to be corrected.

Fixes: #270

Also Add the method set_accept_retry_interval.

Since poll is level-triggered, an uncorrected error can lead to an infinite loop,
so we sleep for a while and wait for the error to be corrected.

Fixes: containerd#270

Signed-off-by: Tim Zhang <tim@hyper.sh>
@lifupan lifupan merged commit 3064de0 into containerd:0.5.0 Jan 14, 2025
8 checks passed
@Tim-Zhang Tim-Zhang deleted the fix-infinite-accept-loop-master-0.5.0 branch January 14, 2025 03:14
Tim-Zhang added a commit to Tim-Zhang/ttrpc-rust that referenced this pull request Jan 14, 2025
Changelog:
- containerd#274

Signed-off-by: Tim Zhang <tim@hyper.sh>
Tim-Zhang added a commit to Tim-Zhang/ttrpc-rust that referenced this pull request Jan 14, 2025
Changelog:
- containerd#274

Signed-off-by: Tim Zhang <tim@hyper.sh>
@Tim-Zhang Tim-Zhang mentioned this pull request Jan 14, 2025
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.

3 participants