Bug #87249 Relay logs shouldn't be purged if options unrelated in CHANGE MASTER is executed
| Submitted: | 30 Jul 2017 0:44 | Modified: | 28 Dec 2017 20:34 |
|---|---|---|---|
| Reporter: | Jaime Sicam | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any |
[30 Jul 2017 0:44]
Jaime Sicam
[31 Jul 2017 12:49]
MySQL Verification Team
Hi, I apologize but I don't see how this differs from what's documented: > STOP SLAVE; > CHANGE MASTER TO MASTER_DELAY=0; > > And you will see that all existing relay logs will be deleted > and a new one will be created Maybe you wanted to log a feature request? all best Bogdan
[28 Dec 2017 20:21]
Sveta Smirnova
Of course this is feature request! Bogdan, could you please convert this report to such and choose appropriate severity? Thanks in advance.
[28 Dec 2017 20:34]
MySQL Verification Team
Hey Sveta, It was not clear from the report if it's a FR or a bug report so I had to ask :) changed it to FR happy holidays Bogdan
[7 Jan 2019 17:25]
Jean-François Gagné
Related: Bug#93843.
[10 Jan 2019 10:48]
MySQL Verification Team
Bug #93843 marked as duplicate of this one
[1 Jul 2024 18:59]
Matthew Boehm
Still affects 8.0. If I'm using GTID and CHANGE REPLICATION SOURCE (ie: promote a replica), if the GTIDs between new source and original replica are subset, then there is no reason at all to erase the relay logs. You can be in a situation where the binlogs on new source have aged away (binlog-seconds, etc) and when you change the replica to point to new replica, the new replica will NOT have the needed binlogs to restore replication.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.