github-actions[bot] opened a new pull request, #71787:
URL: https://github.com/apache/airflow/pull/71787

   The chart ships a default PgBouncer preStop hook that drains client
   connections for up to 120 seconds, but the Deployment never sets
   terminationGracePeriodSeconds, so the Kubernetes default of 30s SIGKILLs
   the pod mid-drain on a node drain or eviction and cuts in-flight client
   connections.
   
   Every other long-running component in the chart already exposes this
   value; PgBouncer was the only one missing it, despite being the
   component that holds the database connections of all the others.
   
   The default of 120 matches the drain window of the default preStop hook.
   PgBouncer exits as soon as the last client connection is released, so
   the value is an upper bound rather than a fixed wait.
   (cherry picked from commit 0815a27eae7a8c9b6f336255437d8ed344cdaf3a)
   
   Co-authored-by: antruigon <[email protected]>
   Co-authored-by: Przemysław Mirowski 
<[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to