MySQL Forums
Forum List  »  Replication

Re: SHOW MASTER result seems wrong
Posted by: Warwick Chapman
Date: October 24, 2019 12:06AM

Peter Brawley Wrote:
-------------------------------------------------------
> No error report there, I'd spot check arrival of
> slave updates.

pt-table-checksum has confirmed that the replica is exact.

But, I still don't know why SHOW MASTER STATUS on the slave produces incorrect information.

This is on the MASTER:

mysql> show master status;
+------------------+----------+--------------+------------------+-------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |
+------------------+----------+--------------+------------------+-------------------+
| mysql-bin.000061 | 46509835 | | | |
+------------------+----------+--------------+------------------+-------------------+
1 row in set (0,00 sec)

This is on the SLAVE:

mysql> show master status;
+------------------+----------+--------------+------------------+-------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |
+------------------+----------+--------------+------------------+-------------------+
| mysql-bin.000005 | 154 | | | |
+------------------+----------+--------------+------------------+-------------------+
1 row in set (0.00 sec)

Am I perhaps misunderstanding what SHOW MASTER STATUS does?

Options: ReplyQuote


Subject
Views
Written By
Posted
1272
October 21, 2019 05:47AM
295
October 21, 2019 11:44AM
266
October 23, 2019 02:08PM
Re: SHOW MASTER result seems wrong
283
October 24, 2019 12:06AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.