Skip to content

Cancellation / timeout epic for 5.0 #3166

Closed
Closed

Description

@roji

Additional related tasks not done in 5.0 are tracked by #3346

/cc @vonzshik

Activity

  1. added this to the 5.0.0 milestone on Sep 20, 2020
  2. vonzshik commented on Sep 20, 2020

    @vonzshik
    Contributor

    Multiplexing write loop - there are places, where we're ignoring the timeout cancellation token.

  3. roji commented on Sep 20, 2020

    @roji
    MemberAuthor

    Good point @vonzshik. Though IMHO getting cancellation (and timeout) working for multiplexing in general is low-priority, as a new, experimental feature.

  4. changed the title [-]Remaining tasks for cancellation[/-] [+]Remaining tasks for cancellation / timeout[/+] on Sep 20, 2020
  5. vonzshik commented on Sep 26, 2020

    @vonzshik
    Contributor

    Also, something that came to my mind:

    1. Send task from NpgsqlCommand can be cancelled only while NpgsqlDataReader has not been returned to the user.
    2. Same thing with NpgslCommand.Cancel.
  6. vonzshik commented on Oct 22, 2020

    @vonzshik
    Contributor

    I'm pretty sure the first one (#3187) isn't yet completed.
    But the second one (#3142) is.
    Also, the third one (#2860) is also done.

  7. roji commented on Oct 22, 2020

    @roji
    MemberAuthor

    For WaitAsync, I still want to explore not passing down the cancellation token through all the layers, but to simply cancel the read buffer's token directly when the user token is triggered - this is a bit similar to auth cancellation.

    The 3rd item can track remaining work on auth cancellation (as discussed in #3253 (comment)).

  8. changed the title [-]Remaining tasks for cancellation / timeout[/-] [+]Cancellation / timeout epic[/+] on Oct 26, 2020
  9. changed the title [-]Cancellation / timeout epic[/-] [+]Cancellation / timeout epic for 5.0[/+] on Oct 26, 2020
  10. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions