Uploaded image for project: 'ProxySQL Admin Scripts'
  1. ProxySQL Admin Scripts
  2. PSQLADM-129

Stopping/Restarting ProxySQL can lead to multiple instances running at the same time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 1.4.12
    • Fix Version/s: 1.4.13
    • Component/s: None
    • Labels:
      None

      Description

      See PSQLADM-127 for repro steps (very similar).

      What happens is that we fail to retrieve the cluster_name (due to ProxySQL being down). We can't query ProxySQL for the cluster node also. So we have no name, and thus try to lock the galera_checker.pid, rather than <cluster_name>_galera_checker.pid

      Which will lead this instance to run the same time as another instance that actually obtained the cluster_name.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kenn.takara Kenn Takara
                  Reporter:
                  kenn.takara Kenn Takara
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: