[MDEV-23116] mariabackup doesn't recognize encryption options provided on the command line Created: 2020-07-07 Updated: 2021-08-03 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | mariabackup |
| Affects Version/s: | 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Vladislav Lesin |
| Resolution: | Unresolved | Votes: | 3 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Till recently (I assume until
Now I don't seem to be able to do it anymore.
And if I put it after mysqld-args, it gets ignored and the one from the cnf file is still used:
|
| Comments |
| Comment by Vladislav Lesin [ 2020-07-15 ] | ||||||||||||||||||||||||||
|
Encryption plugin is initialized from xtrabackup_prepare_func():
But the options are parsed before xtrabackup_prepare_func() call, in handle_options(), which is invoked from main(). The fix can be in moving encryption_plugin_prepare_init() call from xtrabackup_prepare_func() to handle_options(). | ||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-08-03 ] | ||||||||||||||||||||||||||
|
It was apparently caused by
|