yandex / odyssey

Scalable PostgreSQL connection pooler
BSD 3-Clause "New" or "Revised" License
3.21k stars 165 forks source link

frontend.c: free back conn if exists #683

Closed rkhapov closed 2 months ago

rkhapov commented 2 months ago

There are some cases, when catchup timeout can occur with client with backend connection (when lag appears after conn has been taken.

This patch adds router closing for this cases.