community.general icon indicating copy to clipboard operation
community.general copied to clipboard

HAProxy skips the wait when drain=true and the backend is down - fix issue 8092

Open RayJin2000 opened this issue 11 months ago • 4 comments

SUMMARY

Fixes #8092

My fix ensures that HAProxy skips the wait when drain=true and the backend is down.

Details:
  • The fix addresses an issue where HAProxy could get stuck in DRAIN mode when the backend was unreachable.
  • The fix instructs HAProxy to skip waiting for active connections if the backend is down.
  • This results in faster and more reliable failover times.
Benefits:
  • Improved performance and reliability during failover
  • Avoidance of getting stuck in DRAIN mode
  • Reduced downtime
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

haproxy

ADDITIONAL INFORMATION

RayJin2000 avatar Mar 15 '24 09:03 RayJin2000