# MySQL replication lag is flapping between 0 and XXXXX

**URL:** <https://forums.percona.com/t/mysql-replication-lag-is-flapping-between-0-and-xxxxx/15176>\
**Category:** MySQL & MariaDB\
**Tags:** closed-no-reply\
**Created:** [April 10, 2022, 2:19pm UTC](https://forums.percona.com/t/mysql-replication-lag-is-flapping-between-0-and-xxxxx/15176 "2022-04-10T14:19:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Wang](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/james_wang/32/6279_2.png) [@James\_Wang](https://forums.percona.com/u/James_Wang)\
**Post date:** [April 10, 2022, 2:19pm UTC](https://forums.percona.com/t/mysql-replication-lag-is-flapping-between-0-and-xxxxx/15176/1 "2022-04-10T14:19:59Z")

</div>

Good day, All.

My issue looks very similar to [https://www.percona.com/blog/2013/09/16/possible-reasons-when-mysql-replication-lag-is-flapping-between-0-and-xxxxx/](https://www.percona.com/blog/2013/09/16/possible-reasons-when-mysql-replication-lag-is-flapping-between-0-and-xxxxx/)

As i can not ask in that thread anymore, here is the new thread.

Looks to me that my issue to be the same as 🙂

#### 2. Dual-master setup, “log\_slave\_updates” enabled, server-ids changed.

Tried:  
STOP SLAVE; CHNAGE MASTER TO MASTER\_LOG\_POS=${a\_new\_number\_from\_show\_master\_status\_command\_on\_the\_master}; START SLAVE;

However, the issue is still there.

Please shed some light.

Thanks a lot in advance
