Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-966

If secrets_readKeys() in secret.c fails (return NULL) MaxScale will keep trying again

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Component/s: Core, maxpasswd
    • Labels:
      None
    • Sprint:
      2017-28

      Description

      If reading file ".secrets" fails for any reason in secrets_readKeys(const char* path), an error message is produced but MaxScale keeps running and will try again later. This continues ad infinitum. For this bug to happen the services must successfully start (using cached passwords?).
      Call stack (other stacks are also possible):
      secrets_readKeys
      decryptPassword
      mon_connect_to_db
      monitorDatabase
      monitorMain
      start_thread
      clone ()

        Attachments

          Activity

            People

            Assignee:
            esa.korhonen Esa Korhonen
            Reporter:
            esa.korhonen Esa Korhonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: