Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA: Limit max open database connections to 1 #828

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. HA: Limit max open database connections to 1

    Previously, the HA feature was allowed to open `max_connections`
    database connection in parallel to other Icinga DB components. Meaning,
    Icinga DB wasn't limited to the configured `max_connections`, but
    effectively to `2 * max_connections`. Additionally, this masked a
    serious bug in the `HA#realize()` method, where we start a new
    transaction after each retry without rolling back in case of an error,
    leading to connections not being released before exceeding the ctx
    deadline.
    yhabteab committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    4062f86 View commit details
    Browse the repository at this point in the history