[MDEV-7652] More explanatory ERROR and WARNING messages when loading plugins with plugin-load-add that are already registered at mysql.plugin Created: 2015-03-02 Updated: 2023-08-30 Resolved: 2015-07-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Affects Version/s: | 10.0 |
| Fix Version/s: | 10.0.21 |
| Type: | Bug | Priority: | Major |
| Reporter: | Stoykov (Inactive) | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | Documentation, plugins, verified | ||
| Environment: |
All |
||
| Issue Links: |
|
||||||||
| Sprint: | 10.0.20, 10.0.21, 5.5.45 | ||||||||
| Description |
|
In case a plugin is loaded with INSTALL SONAME , and the same plug is configured to be loaded at the configuration with plugin-load-add, there are not clear ERROR and WARNING mesages at the error log file. example:
The messages should give the the reason for the errors
There should be a documentation change with explanation what will happen in this case at some MariaDB KnowledgeBase pages , so far I can list these ones: https://mariadb.com/kb/en/mariadb/install-plugin/ |
| Comments |
| Comment by Elena Stepanova [ 2015-03-02 ] | ||||
|
Hi Ivan, Could you please elaborate on this a bit, I don't quite understand the problem.
But they do give the reason, don't they? You've quoted it:
This is the reason why it
It looks quite readable to me; can you suggest a message which from your point of view would explain the problem better?
No, actually it is not. | ||||
| Comment by Stoykov (Inactive) [ 2015-03-03 ] | ||||
|
Hi Elena, I understand the messages are correct from the internal (low level) point of view , but the end user will understood that the plug-in is not loaded at all. I agree here that there might be different binaries. So adding short information that the plugin was already loaded from the particular *.so binary will help a lot. Something like :
In this way the end user will know the plugin is loaded and will not need to investigate further. | ||||
| Comment by raynzhuang [ 2015-04-03 ] | ||||
|
I would agree with Stoykov on the end user confusion issue. I try to investigate some other problem and come across the err log. I have been confused with such [error] message since my TokuDB plugin is working properly. | ||||
| Comment by Sergey Vojtovich [ 2015-07-22 ] | ||||
|
Though error message is not perfect indeed, I don't fully agree with proposed solution. I believe we should do the following:
serg, please review this bug and suggest what we should do about it. | ||||
| Comment by Sergei Golubchik [ 2015-07-25 ] | ||||
|
svoj, I think
| ||||
| Comment by Sergey Vojtovich [ 2015-07-25 ] | ||||
|
serg, I was afraid to break third party scripts that may rely on this error message text. Otherwise I don't mind fixing this in 10.0. | ||||
| Comment by Sergey Vojtovich [ 2015-07-28 ] | ||||
|
serg, please review fix for this bug. |