Bug #80791 | innodb_tmpdir behaviour and variable scope looks problematic | ||
---|---|---|---|
Submitted: | 18 Mar 2016 14:36 | Modified: | 4 Apr 2016 14:53 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
Version: | 5.6.29.,5.7.11 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | ALTER TABLE, innodb, innodb_tmpdir |
[18 Mar 2016 14:36]
Simon Mudd
[23 Mar 2016 11:06]
MySQL Verification Team
Hello Simon, Thank you for the feedback and reasonable feature request! Imho innodb_tmpdir was implemented after Bug #73250. Thanks, Umesh
[28 Mar 2016 17:57]
Thirunarayanan Balathandayuthapani
innodb_tmpdir is both global | session variable. we updated the documentation.
[29 Mar 2016 8:30]
Libing Song
That is true, replicating innodb_tmpdir will get some convenient if all servers have same OS environment. But there are also many slaves don't have same environment as master. For those cases, users still need to configure the variable per server, otherwise it will still break replication. So replicating innodb_tmpdir isn't a perfect solution. And it will make the situation a little bit complex to users. They need to decide when they should configure it per server and when they shouldn't. Since the variable depends on OS environment, It is better not to replicate it and I suggest to warn users in the reference manual that it will probably break replication if ALTER TABLE online uses innodb_tmpdir on master but its slave doesn't configure it.
[4 Apr 2016 14:53]
Daniel Price
Posted by developer: The following documentation pages have been updated. Changes should appear online with 24 hours. http://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_tmpdir http://dev.mysql.com/doc/refman/5.7/en/temporary-files.html#innodb-temporary-files Thank you for the bug report.