Skip to content

Do not fail the request with TimeoutException if a connection is failed and there are available connections #76

Description

@akudiyar

Currently, when a connection fails (a disconnect event is emitted by netty), all in-flight requests for this connection that have not received a response yet will fail with TimeoutException, when the configured request timeout exceeds.

This may cause some requests to wait unnecessarily for the timeout when it is already known that the server will not respond. In this case, we may either end these requests immediately on disconnect event or repeat these requests internally, switching them to the other alive connections.

The first variant seems better, since the requests may not be idempotent, and the decision for repeating the request lies on the user.

Activity

  1. added this to the milestone on Mar 2, 2021
  2. removed this from the milestone on Sep 14, 2021
  3. added this to the wishlist milestone on Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions