mysqldump-lvm does not support federated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
holland-backup |
Fix Committed
|
High
|
Andrew Garner |
Bug Description
If there are one or more federated tables, mysqldump-lvm will fail on invoking mysqldump with an error along the lines of:
/usr/bin/
Or:
/usr/bin/
This is due to federated not being enabled on the temporary instance running on the snapshot.
This is currently done to avoid accidentally writing to files used by the production instance - so the snapshot instance generates a minimally "safe" config - injecting any custom innodb options as necessary. This can be fixed by enabling federated (e.g. adding loose-federated to the generated my.cnf) - but there are probably other cases where a more general solution is needed.
I think it makes sense to just add some mysqld-opts = to the [mysqld] section to customize the commandline options. Also, being able to include some custom my.cnf or specify other key=value options may be useful as well - injecting arbitrary key/value options into the my.cnf is already supported in the amsterdam branch although not exposed to the end-user.
Changed in holland-backup: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Andrew Garner (muzazzi) |
milestone: | none → 1.0.12 |
Pushed feature branch here: https:/ /github. com/holland- backup/ holland/ tree/feature/ lp_1235385_ lvm_support_ federated
Specifically holland's mysqld control code unconditionally adds the loose-federated option to attempt to enable federated support where it is available.
This should be included in the 1.0.12 release.