Bug #35807 | INSTALL PLUGIN replicates row-based, but not stmt-based | ||
---|---|---|---|
Submitted: | 3 Apr 2008 15:53 | Modified: | 15 Sep 2008 16:09 |
Reporter: | Ingo Strüwing | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Row Based Replication ( RBR ) | Severity: | S3 (Non-critical) |
Version: | 5.1.24 | OS: | Any |
Assigned to: | Ingo Strüwing | CPU Architecture: | Any |
[3 Apr 2008 15:53]
Ingo Strüwing
[3 Apr 2008 15:58]
Ingo Strüwing
A possible workaround could be to stop replication for a moment, install the plugin(s), and restart replication, which I deem inacceptable.
[3 Apr 2008 16:07]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/44879 ChangeSet@1.2576, 2008-04-03 18:07:19+02:00, istruewing@stella.local +5 -0 Bug#35807 - INSTALL PLUGIN replicates row-based, but not stmt-based INSTALL PLUGIN and UNINSTALL PLUGIN worked with statement-based and mixed-mode replication only, but not with row-based replication. There is no statement-based replication of these statements. But there was row-based replication of the inserts and deletes to and from the mysql.plugin table. The fix is to suppress binlogging during insert and delete to and from the mysql.plugin table.
[9 Jul 2008 17:50]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/49336 2624 Ingo Struewing 2008-07-09 Bug#35807 - INSTALL PLUGIN replicates row-based, but not stmt-based INSTALL PLUGIN and UNINSTALL PLUGIN worked with statement-based and mixed-mode replication only, but not with row-based replication. There is no statement-based replication of these statements. But there was row-based replication of the inserts and deletes to and from the mysql.plugin table. The fix is to suppress binlogging during insert and delete to and from the mysql.plugin table.
[11 Jul 2008 14:28]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/49577 2624 Ingo Struewing 2008-07-11 Bug#35807 - INSTALL PLUGIN replicates row-based, but not stmt-based INSTALL PLUGIN and UNINSTALL PLUGIN worked with statement-based and mixed-mode replication only, but not with row-based replication. There is no statement-based replication of these statements. But there was row-based replication of the inserts and deletes to and from the mysql.plugin table. The fix is to suppress binlogging during insert and delete to and from the mysql.plugin table.
[20 Aug 2008 10:56]
Sven Sandberg
I pushed this to 5.1-bugteam and 6.0-bugteam
[21 Aug 2008 18:05]
Bugs System
Pushed into 5.1.28 (revid:sven@mysql.com-20080819153556-y1kpcq87mbpyreie) (version source revid:sergefp@mysql.com-20080820003849-6ab1op9dxo52n27e) (pib:3)
[22 Aug 2008 8:38]
Jon Stephens
Documented in the 5.1.28 changelog as follows: INSTALL PLUGIN and UNINSTALL PLUGIN caused row-based replication to fail. NOTE: These statements are not replicated; however, when using row-based logging, the changes they make to mysql system tables are written to the binary log. Set bug status back to Patch Queued pending merge to 6.0 tree.
[14 Sep 2008 4:03]
Bugs System
Pushed into 6.0.6-alpha (revid:sven@mysql.com-20080819153556-y1kpcq87mbpyreie) (version source revid:hakan@mysql.com-20080716175219-8unfm2ikarselqpw) (pib:3)
[15 Sep 2008 16:09]
Jon Stephens
Also documented in 6.0.6 changelog.