-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support graceful shutdown #214
Comments
#119 this should be implemented first. Details tarantool/doc#2633 |
what about supporting graceful shutdown from the client? Especially in the connection pool. I.E. client called .Close() or context cancelled, but we still have pending requests |
This is planned to be done by 2023. Perhaps it will be ready this month. |
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
Fix was provided by @oleg-jukovec Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
Fix was provided by @oleg-jukovec Part of #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer and WatchersFeature is required, after this patch connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer, after this patch a connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
If connected to Tarantool 2.10 or newer, after this patch a connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer, after this patch a connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
After this patch, "make test" behaves similar to "make test-*". Part of #214
If connected to Tarantool 2.10 or newer, after this patch a connection supports server graceful shutdown [1]. In this case, server will wait until all client requests will be finished and client disconnects before going down (server also may go down by timeout). Client reconnect will happen if connection options enable reconnect. Beware that graceful shutdown event initialization is asynchronous. 1. https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/graceful_shutdown/ Closes #214
Overview The release improves compatibility with new Tarantool versions. Breaking changes There are no breaking changes in the release. New features Support iproto feature discovery (#120). Support errors extended information (#209). Support error type in MessagePack (#209). Support event subscriptin (#119). Support session settings (#215). Support pap-sha256 authorization method (Tarantool EE feature) (#243). Support graceful shutdown (#214). Bugfixes Decimal package uses a test variable DecimalPrecision instead of a package-level variable decimalPrecision (#233). Flaky test TestClientRequestObjectsWithContext (#244). Flaky test multi/TestDisconnectAll (#234).
@oleg-jukovec what about that? |
Unfortunately, this is not in the product plan. First of all, because the request counter can be implemented on the client side.
I have opened a new issue:
This is a limitation of the IPHOTO protocol. We cannot cancel a request that has already been sent over network. |
Overview The release improves compatibility with new Tarantool versions. Breaking changes There are no breaking changes in the release. New features Support iproto feature discovery (#120). Support errors extended information (#209). Support error type in MessagePack (#209). Support event subscription (#119). Support session settings (#215). Support pap-sha256 authorization method (Tarantool EE feature) (#243). Support graceful shutdown (#214). Bugfixes Decimal package uses a test variable DecimalPrecision instead of a package-level variable decimalPrecision (#233). Flaky test TestClientRequestObjectsWithContext (#244). Flaky test multi/TestDisconnectAll (#234).
Overview The release improves compatibility with new Tarantool versions. Breaking changes There are no breaking changes in the release. New features Support iproto feature discovery (#120). Support errors extended information (#209). Support error type in MessagePack (#209). Support event subscription (#119). Support session settings (#215). Support pap-sha256 authorization method (Tarantool EE feature) (#243). Support graceful shutdown (#214). Bugfixes Decimal package uses a test variable DecimalPrecision instead of a package-level variable decimalPrecision (#233). Flaky test TestClientRequestObjectsWithContext (#244). Flaky test multi/TestDisconnectAll (#234).
Overview The release improves compatibility with new Tarantool versions. Breaking changes There are no breaking changes in the release. New features Support iproto feature discovery (tarantool#120). Support errors extended information (tarantool#209). Support error type in MessagePack (tarantool#209). Support event subscription (tarantool#119). Support session settings (tarantool#215). Support pap-sha256 authorization method (Tarantool EE feature) (tarantool#243). Support graceful shutdown (tarantool#214). Bugfixes Decimal package uses a test variable DecimalPrecision instead of a package-level variable decimalPrecision (tarantool#233). Flaky test TestClientRequestObjectsWithContext (tarantool#244). Flaky test multi/TestDisconnectAll (tarantool#234).
Follows up tarantool/go-tarantool#209 Follows up tarantool/go-tarantool#214 Follows up tarantool/go-tarantool#215 Follows up tarantool/go-tarantool#246
Follows up tarantool/go-tarantool#119 Follows up tarantool/go-tarantool#120 Follows up tarantool/go-tarantool#209 Follows up tarantool/go-tarantool#214 Follows up tarantool/go-tarantool#215 Follows up tarantool/go-tarantool#246
Follows up tarantool/go-tarantool#119 Follows up tarantool/go-tarantool#120 Follows up tarantool/go-tarantool#209 Follows up tarantool/go-tarantool#214 Follows up tarantool/go-tarantool#215 Follows up tarantool/go-tarantool#246
Follows up tarantool/go-tarantool#119 Follows up tarantool/go-tarantool#120 Follows up tarantool/go-tarantool#209 Follows up tarantool/go-tarantool#214 Follows up tarantool/go-tarantool#215 Follows up tarantool/go-tarantool#246
The graceful shutdown protocol is a mechanism that helps to prevent data loss in requests in case of a shutdown command.
https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/#graceful-shutdown-protocol
The text was updated successfully, but these errors were encountered: