openstack-ansible-galera_se.../releasenotes/notes/galera_tmpdir-3271e0bc8e353930.yaml
Dmitriy Rabotyagov ebc0417919 Use separate tmp directory
During upgrades or cluster repairments, temporary directories are created
inside /var/lib/mysql and treated as databases. This results in errors
during mysqlcheck like:

`Got error: 1102: Incorrect database name '#mysql50#tmp.stLr46FBlt'`

Path outside of datadir is not choosen since it could be separate mount
point and it's important for replication
to survive reboots.

Change-Id: Ia110dd9ed09b04f6bb7a0a3adf5a808966558507
2022-04-11 15:24:29 +00:00

11 lines
363 B
YAML

---
features:
- |
New variables ``galera_tmp_dir`` and ``galera_ignore_db_dirs`` were
implemented to control path to tmp dir and what directories should be
ignored when listing databases.
upgrade:
- |
If you have database named as ``#tmp`` you should change ``galera_tmp_dir``
path and adjust ``galera_ignore_db_dirs`` or rename database.