[MDEV-17639] ignore_db_dirs as a configurable option only works with single directories per declaration; to specify multiple directories, the variable must be declared once per ignored directory. Created: 2018-11-07 Updated: 2020-08-25 Resolved: 2018-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration, Documentation |
| Affects Version/s: | 10.3.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Juan | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS |
||
| Description |
|
Currently the configuration directive
is accepted in .cnf files and processed by the server, but results in the server not ignoring any of the listed directories when multiple comma-separated directories are specified.
works correctly and produces
|
| Comments |
| Comment by Elena Stepanova [ 2018-11-07 ] |
|
The first example in the description is irrelevant – it works, but it will ignore the directory named lost+found,tmp, as requested. However, things definitely don't work as documented, so at the very least we have a documentation bug. The KB says:
and
So, ignore_db_dirs is supposed to be a read-only variable, while ignore-db-dir is supposed to be an option. In fact, ignore-db-dirs serves as both. It can be used on server startup as an option multiple times, and at runtime it shows the combined list of provided values. |
| Comment by Elena Stepanova [ 2018-11-07 ] |
|
Assigning to serg to confirm that it works as designed and is a documentation issue only. I can't quite figure it out from |
| Comment by Juan [ 2018-11-07 ] |
|
Thanks for the correction about ignore_db_dir vs ignore_db_dirs, Elena. Edited the description to correct that misunderstanding. |
| Comment by Sergei Golubchik [ 2018-11-08 ] |
|
Let's fix the manual to describe the current behavior. |