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

"plugin already loaded" should be a Warning, not an Error

Details

    Description

      When there are multiple requests to load the same plugin, e.g. both a "plugin_load_add" in the config file and an entry in the mysql.plugin table via "INSTALL PLUGIN", an error message is logged, e.g.:

      [ERROR] mariadbd: Plugin 'unix_socket' is already installed.

      IMHO this should only be a warning, not an error, as initial loading of the plugin was successful, so no real damage is done by the 2nd loading attempt in most cases.

      The exception would be an attempt to load a different version of the same plugin library, but even then a warning should be sufficient IMHO, especially as even the current error output does not terminate server startup.

      So both a warning and the current error would go unnoticed if a user doesn't bother to check the error log output, but the current error messages makes the situation sound much more critical than it actually is.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Daniel Black made transition -
            Open Needs Feedback
            13h 33m 1
            Julien Fritsch made transition -
            Needs Feedback Closed
            32d 4h 4m 1
            Hartmut Holzgraefe made transition -
            Closed Stalled
            2h 3m 1
            Julien Fritsch made transition -
            Stalled Open
            10m 33s 1
            Sergei Golubchik made transition -
            Open Confirmed
            10d 2h 11m 1
            Daniel Black made transition -
            Confirmed In Review
            12h 41m 1
            Dmitry Shulga made transition -
            In Review Stalled
            56d 12h 47m 1
            Daniel Black made transition -
            Stalled Closed
            13h 3m 1

            People

              danblack Daniel Black
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.