finagle / finagle/finagle-postgres

Can't restore after tooManyWaitersException

Open
#298 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
81
Forks
36
PR merge metrics
No merged PRs in 30d

Description

After ` TooManyWaitersException` FailureAccrual marked connection as dead for 5 seconds. I guess after 5 seconds client tries to retry and again gets error (`ChannelException: Remote Info: Not Available`) and mark connection as dead for 6..13.. seconds. How could I catch whats happening and restore work? Config of client is default except noFailFast

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named. Start by reproducing the retry behavior with the default client configuration and noFailFast, then trace TooManyWaitersException, FailureAccrual, and ChannelException to determine why the connection remains unavailable. Done means identifying the failure path and documenting or testing a reliable restoration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, scala
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.