Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
3c57409
commit ebc0417
Showing
4 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters