Bug #85828 | Rename 'expire_logs_days' | ||
---|---|---|---|
Submitted: | 6 Apr 2017 9:34 | Modified: | 6 Apr 2017 9:43 |
Reporter: | Jon Stephens | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 8.0.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | binlog, usability |
[6 Apr 2017 9:34]
Jon Stephens
[6 Apr 2017 9:43]
MySQL Verification Team
Hello Jon Ji, Thank you for the report and feedback! Thanks, Umesh
[6 Apr 2017 11:12]
Jean-François Gagné
I think renaming expire_logs_days could have a big impact on users, so I think this should not be done in 8.0 I would prefer to rename binlog_expire_logs_seconds to expire_logs_seconds. Or to add expire_logs_seconds as an alias to binlog_expire_logs_seconds and binlog_expire_logs_days as an alias to expire_logs_days. We could then deprecate expire_logs_days and remove it in the major version after the next (too early to do this in the next major version, so we need to do this in MySQL 8 + 2).
[6 Apr 2017 15:04]
Jon Stephens
Hi Jean-François, 1. There are over 1600 mysqld options and variables. Since we don't have any namespacing for these as such, we have to make do with prefixes. Most options and variables affecting binary logging use 'binlog' as a prefix. So it's more consistent to rename expire_logs_days. 2. We have a deprecation procedure that, in the event my suggestion is adopted, will be followed. We will not simply drop the old name for the new one without giving users fair warning and time to make changes in their configurations and applications. cheers jon.