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
- relates to
-
MDEV-32043 mariadb-upgrade should remove mysql.plugin entries for plugins that became bundled
-
- Closed
-
-
MDEV-7652 More explanatory ERROR and WARNING messages when loading plugins with plugin-load-add that are already registered at mysql.plugin
-
- Closed
-
-
MDEV-32626 Server hangs during startup with plugin_load_add=server_audit when plugin is already loaded with INSTALL SONAME
-
- Closed
-
Activity
Link | This issue relates to MENT-316 [ MENT-316 ] |
Status | Open [ 1 ] | Needs Feedback [ 10501 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] |
Link |
This issue relates to |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Incomplete [ 4 ] | |
Status | Needs Feedback [ 10501 ] | Closed [ 6 ] |
Resolution | Incomplete [ 4 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | N/A [ 14700 ] |
Status | Stalled [ 10000 ] | Open [ 1 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Fix Version/s | 10.10 [ 27530 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 11.0 [ 28320 ] | |
Fix Version/s | 11.1 [ 28549 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] | Daniel Black [ danblack ] |
Assignee | Daniel Black [ danblack ] | Dmitry Shulga [ JIRAUSER47315 ] |
Status | Confirmed [ 10101 ] | In Review [ 10002 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link |
This issue relates to |
Fix Version/s | 10.10 [ 27530 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] | Julien Fritsch [ julien.fritsch ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Julien Fritsch [ julien.fritsch ] | Daniel Black [ danblack ] |
issue.field.resolutiondate | 2023-12-09 01:00:18.0 | 2023-12-09 01:00:17.62 |
Fix Version/s | 10.4.33 [ 29516 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 11.0 [ 28320 ] | |
Fix Version/s | 11.1 [ 28549 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.5.24 [ 29517 ] | |
Fix Version/s | 10.6.17 [ 29518 ] | |
Fix Version/s | 10.11.7 [ 29519 ] | |
Fix Version/s | 11.0.5 [ 29520 ] | |
Fix Version/s | 11.1.4 [ 29024 ] | |
Fix Version/s | 11.2.3 [ 29521 ] |
Zendesk Related Tickets | 197571 |
10.4+:
Can't INSTALL PLUGIN IF NOT EXISTS be used to downgrade any error to a warning?
If a replacement is desired can UNINSTALL PLUGIN IF EXISTS be used before the INSTALL PLUGIN?