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

transport_service: Improve connection stability by downgrading connections on substream inactivity #260

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Commits on Sep 25, 2024

  1. transport_service: Add logs when the receiver is closed

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    8495a9b View commit details
    Browse the repository at this point in the history
  2. tcp/connection: Move handling of yamux substream to dedicated function

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    70511ae View commit details
    Browse the repository at this point in the history
  3. tcp/connection: Move handling of negotiated substreams to dedicated fn

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    94ac0f5 View commit details
    Browse the repository at this point in the history
  4. tcp/connection: Move handling of protocol commands to dedicated fn

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2b87e86 View commit details
    Browse the repository at this point in the history
  5. tcp: Add endpoint to logs

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2f917e1 View commit details
    Browse the repository at this point in the history
  6. tcp: Adjust handler fns to return Result<bool>

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    50cbd34 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. protocol-set: Extend OpenSubstream with connection ID

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    0004aea View commit details
    Browse the repository at this point in the history
  2. transport-service: Add keepalive timeout tracker for connections

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    0071b71 View commit details
    Browse the repository at this point in the history
  3. transport-service: Use connection tracker

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4e20728 View commit details
    Browse the repository at this point in the history
  4. tests: Adjust to new interface and downgrade a few logs

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e2ad0c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. transport-service/tests: Check connections are downgraded

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a327ac4 View commit details
    Browse the repository at this point in the history
  2. transport-service/tests: Check substream opening resets keep alive

    timeouts
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    67cc183 View commit details
    Browse the repository at this point in the history
  3. transport-service/tests: Ensure service is polled enough times

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9ad7f7b View commit details
    Browse the repository at this point in the history
  4. tcp: TcpConnection no longer needs the connection ID field

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    30ba5be View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Merge remote-tracking branch 'origin/master' into lexnv/stable-connec…

    …tions
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    e32b925 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. transport-service/tests: Test assumptions for dropping connections on

    dropped substreams
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    177cc92 View commit details
    Browse the repository at this point in the history
  2. transport-service/tests: Extend test for multiple substreams being

    dropped
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    52cd146 View commit details
    Browse the repository at this point in the history
  3. transport-service: Simplify keep alive hashmap tracking

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    35c67f0 View commit details
    Browse the repository at this point in the history
  4. transport-service: Replace FuturesUnordered with more efficient

    polling
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    38665fd View commit details
    Browse the repository at this point in the history
  5. transport-service: Upgrade connection on substream activity

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    71571a8 View commit details
    Browse the repository at this point in the history
  6. transport_service: Ensure proper ordering

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    b28aa67 View commit details
    Browse the repository at this point in the history
  7. transport_service: Break down logic to multiple fns

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    d3058eb View commit details
    Browse the repository at this point in the history
  8. transport-service/tests: Keep track of connection ordering

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    fa9ab26 View commit details
    Browse the repository at this point in the history
  9. transport-service: Remove next stale connections

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    eedad30 View commit details
    Browse the repository at this point in the history
  10. transport-service/tests: Ensure the connection is upgraded

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4aebc0d View commit details
    Browse the repository at this point in the history
  11. transport-service/tests: Ensure next stale connections are removed

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ff13252 View commit details
    Browse the repository at this point in the history
  12. transport-service/tests: Ensure downgrading works after timeout

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    7ff145a View commit details
    Browse the repository at this point in the history