Skip to content

Fix server shutdown logic#130

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
austinvazquez:fix-server-shutdown
Mar 8, 2023
Merged

Fix server shutdown logic#130
dmcgowan merged 1 commit intocontainerd:mainfrom
austinvazquez:fix-server-shutdown

Conversation

@austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Feb 24, 2023

Fixes #129

Simplify close idle connections logic in server shutdown to be more
intuitive. Modify add connection logic to check if server has been
shutdown before adding any new connections. Modify test to make all
calls before server shutdown.

Signed-off-by: Austin Vazquez [email protected]

@austinvazquez austinvazquez force-pushed the fix-server-shutdown branch 10 times, most recently from fc0e242 to 9925d37 Compare February 25, 2023 00:31
@austinvazquez austinvazquez force-pushed the fix-server-shutdown branch 3 times, most recently from 6006966 to e5894c3 Compare February 25, 2023 00:59
@austinvazquez austinvazquez marked this pull request as ready for review February 25, 2023 01:08
Simplify close idle connections logic in server shutdown to be more
intuitive. Modify add connection logic to check if server has been
shutdown before adding any new connections. Modify test to make all
calls before server shutdown.

Signed-off-by: Austin Vazquez <[email protected]>
@kzys
Copy link
Member

kzys commented Mar 7, 2023

@dmcgowan @cpuguy83 PTAL

@dmcgowan dmcgowan merged commit 7e006e7 into containerd:main Mar 8, 2023
@austinvazquez austinvazquez deleted the fix-server-shutdown branch March 8, 2023 21:50
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.

TestServerShutdown is flaky on Windows

4 participants