Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38640

Make the warning message during mariadb-backup SST more useful

    XMLWordPrintable

Details

    • Unexpected results

    Description

      When the SST log archive directory cannot be created or is not writable, the path is set to an empty string and a warning is logged. Unfortunately, the warning is logged only after the path has been changed, so, the following message is displayed:

      WSREP_SST: [WARNING] The '' directory is not writtable
      This PR swaps the order of logging and clearing the path so that the failing path is logged. The new output is:

      WSREP_SST: [WARNING] The '/tmp/something_invalid' directory is not writable

      Attachments

        Activity

          People

            marko Marko Mäkelä
            gkodinov Georgi Kodinov
            Marko Mäkelä Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.