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

pool: track usage of incoming streams #10710

Merged
merged 2 commits into from
Jun 7, 2021
Merged

pool: track usage of incoming streams #10710

merged 2 commits into from
Jun 7, 2021

Commits on Jun 7, 2021

  1. pool: track usage of incoming streams

    Track usage of incoming streams on a connection. Connections without
    reference counts get marked as unused and reaped in a periodic job.
    
    This fixes a bug where `alloc exec` and `alloc fs` sessions get terminated
    unexpectedly. Previously, when a client heartbeats switches between
    servers, the pool connection reaper eventually identifies the connection
    as unused and closes it even if it has an active exec/fs sessions.
    Mahmood Ali committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    11e1173 View commit details
    Browse the repository at this point in the history
  2. some review feedback

    defer releaseUse to ensure it gets run
    
    Also, clarify conn vs stream naming a little bit
    Mahmood Ali committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    51b54c4 View commit details
    Browse the repository at this point in the history