Bug #85799 | variable --master-info-file | ||
---|---|---|---|
Submitted: | 5 Apr 2017 8:32 | Modified: | 5 Apr 2017 12:33 |
Reporter: | slwang wang | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
Version: | 5.7.1, 5.6.35, 5.7.17 | OS: | CentOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | variable |
[5 Apr 2017 8:32]
slwang wang
[5 Apr 2017 10:25]
Tsubasa Tanaka
I seem "--master-info-file" is a command-line option, not a system-variable. https://dev.mysql.com/doc/refman/5.6/en/replication-options-slave.html#option_mysqld_maste... https://github.com/mysql/mysql-server/blob/mysql-5.7.17/sql/mysqld.cc#L5739-L5743
[5 Apr 2017 10:31]
slwang wang
I was so careless. thank you vary much
[5 Apr 2017 10:46]
slwang wang
In document, i find --master-info-file and --relay-log-info-file have the same description as follows: --master-info-file=file_name Command-Line Format --master-info-file=file_name Permitted Values Type file name Default master.info --relay-log-info-file=file_name Command-Line Format --relay-log-info-file=file_name Permitted Values Type file name Default relay-log.info But i can just see relay-log-info-file in variable list. show global variables like "%info%"; +--------------------------------+----------------+ | Variable_name | Value | +--------------------------------+----------------+ | master_info_repository | FILE | | relay_log_info_file | relay-log.info | | relay_log_info_repository | FILE | | session_track_transaction_info | OFF | | sync_master_info | 10000 | | sync_relay_log_info | 10000 | +--------------------------------+----------------+ 6 rows in set (0.23 sec)
[5 Apr 2017 12:33]
MySQL Verification Team
Hello slwang wang, Thank you for the report. This is missing in even 5.6.35, 5.7.17. Thanks, Umesh