Skip to content
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

Graceful shutdown from a client side #257

Closed
oleg-jukovec opened this issue Dec 28, 2022 · 0 comments · Fixed by #296
Closed

Graceful shutdown from a client side #257

oleg-jukovec opened this issue Dec 28, 2022 · 0 comments · Fixed by #296
Assignees
Labels
feature A new functionality good first issue Good for newcomers teamE

Comments

@oleg-jukovec
Copy link
Collaborator

oleg-jukovec commented Dec 28, 2022

It would be nice to wait for all requests to be completed and don't send a new one (should be already implemented) if a user call Connection.Close() or ConnectionPool.Close(). See the feature request:

#214 (comment)

@oleg-jukovec oleg-jukovec added feature A new functionality 3sp labels Dec 28, 2022
@oleg-jukovec oleg-jukovec changed the title graceful shutdown from a client side Graceful shutdown from a client side Dec 28, 2022
@oleg-jukovec oleg-jukovec added the good first issue Good for newcomers label Dec 28, 2022
@oleg-jukovec oleg-jukovec self-assigned this May 24, 2023
oleg-jukovec added a commit that referenced this issue May 24, 2023
We forgot to update a comment about the state.

Part of #257
oleg-jukovec added a commit that referenced this issue May 24, 2023
Connection.Close() waits for all active requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 25, 2023
We forgot to update a comment about the state.

Part of #257
oleg-jukovec added a commit that referenced this issue May 25, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 25, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 25, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 25, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
We forgot to update a comment about the state.

Part of #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
CloseGraceful closes ConnectionPool gracefully. Unlike
ConnectionPool.Close() it waits for all requests to complete.

Closes #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
We forgot to update a comment about the state.

Part of #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 26, 2023
CloseGraceful closes ConnectionPool gracefully. Unlike
ConnectionPool.Close() it waits for all requests to complete.

Closes #257
oleg-jukovec added a commit that referenced this issue May 29, 2023
Overview

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
oleg-jukovec added a commit that referenced this issue May 29, 2023
Overview

The release introduces the ability to gracefully close Connection
and ConnectionPool and also provides methods for adding or removing
an endpoint from a ConnectionPool.

Breaking changes

    There are no breaking changes in the release.

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
oleg-jukovec added a commit that referenced this issue May 29, 2023
Overview

    The release introduces the ability to gracefully close Connection
    and ConnectionPool and also provides methods for adding or
    removing an endpoint from a ConnectionPool.

Breaking changes

    There are no breaking changes in the release.

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
oleg-jukovec added a commit that referenced this issue May 29, 2023
We forgot to update a comment about the state.

Part of #257
oleg-jukovec added a commit that referenced this issue May 29, 2023
CloseGraceful closes Connection gracefully. Unlike Connection.Close()
it waits for all requests to complete.

Part of #257
oleg-jukovec added a commit that referenced this issue May 29, 2023
CloseGraceful closes ConnectionPool gracefully. Unlike
ConnectionPool.Close() it waits for all requests to complete.

Closes #257
oleg-jukovec added a commit that referenced this issue Jun 6, 2023
Overview

    The release introduces the ability to gracefully close Connection
    and ConnectionPool and also provides methods for adding or
    removing an endpoint from a ConnectionPool.

Breaking changes

    There are no breaking changes in the release.

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
oleg-jukovec added a commit that referenced this issue Jun 7, 2023
Overview

    The release introduces the ability to gracefully close Connection
    and ConnectionPool and also provides methods for adding or
    removing an endpoint from a ConnectionPool.

Breaking changes

    There are no breaking changes in the release.

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
oleg-jukovec added a commit that referenced this issue Jun 7, 2023
Overview

    The release introduces the ability to gracefully close Connection
    and ConnectionPool and also provides methods for adding or
    removing an endpoint from a ConnectionPool.

Breaking changes

    There are no breaking changes in the release.

New features

    Connection.CloseGraceful() unlike Connection.Close() waits for all
    requests to complete (#257).

    ConnectionPool.CloseGraceful() unlike ConnectionPool.Close() waits
    for all requests to complete (#257).

    ConnectionPool.Add()/ConnectionPool.Remove() to add/remove endpoints
    from a pool (#290).

Other

    Updates crud tests with Tarantool 3.0 (#293).

    Updates SQL tests with Tarantool 3.0 (#295).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality good first issue Good for newcomers teamE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants