-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions for replay binlog for a read only database #1091
Conversation
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: commit 2eeee2cad2786227213f248158738eb8470cba0f Author: Zhicheng Zhu <[email protected]> Date: Tue Oct 29 10:20:47 2019 -0700 Extend repal_slave + admin_port to set gtid_next when repaly binlog Summary: Currently 8.0 mysqlbinlog will auto print set @session.next_gtid = 'automatic'. This will cause olm fix fail in 5.6. Extending the repal_slave + admin_port to unblock olm. Originally Reviewed By: yoshinorim fbshipit-source-id: 34f0a79 commit 30f5d8f273609dd95245f0a6f3cf36fe8dda3726 Author: Zhicheng Zhu <[email protected]> Date: Fri Sep 13 12:51:10 2019 -0700 let admin_port + repl_slave bypass read only database Summary: As the title said, this is the diff for letting admin_port + repl_slave can replay readonly database. Originally Reviewed By: yoshinorim fbshipit-source-id: b8fce06 commit 02d7ee4db7a16df45faf244c6854b3a51fb194a5 Author: Zhicheng Zhu <[email protected]> Date: Mon Sep 9 16:03:33 2019 -0700 let rpl_repl_slave_acl can use binlog Summary: Context: If we use SUPER_USER priv to replay binlog and write metadata to dst replicaset, SUPER_USER writing to read-only master can cause GTID not generated and therefore these events will not be replicated to slaves and will be ignored by promotion, causing a silent dataloss Fix: To fix this we extend REPL_SLAVE_ACL so that binlog can bypass it and run like SUPER_USER but without causing GTID not generated. Originally Reviewed By: yoshinorim fbshipit-source-id: 1a67821
8985947
to
b72408c
Compare
I moved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: 8e4765845c5 Reference Patch: e6a4851729b Reference Patch: cfd9b938f57 Pull Request resolved: #1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lth Differential Revision: D19525120 Pulled By: lth fbshipit-source-id: c2c496f
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 (facebook@89bc302) Pulled By: lth fbshipit-source-id: 62d50f608cc
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
facebook#1091) Summary: Extend BINLOG_ADMIN to work with `ALTER DATABASE test read_only=True` so BINLOG_ADMIN will be equal to `REPLICATION SLAVE+ADMIN PORT` in 5.6. This patch replaces the following 5.6 commits: Extend repl_slave + admin_port to set gtid_next when repaly binlog let admin_port + repl_slave bypass read only database let rpl_repl_slave_acl can use binlog Reference Patch: facebook@8e4765845c5 Reference Patch: facebook@e6a4851729b Reference Patch: facebook@cfd9b938f57 Pull Request resolved: facebook#1091 Reviewed By: lloyd Differential Revision: D19525120 Pulled By: lth
Summary:
Extend BINLOG_ADMIN to work with
ALTER DATABASE test read_only=True
so BINLOG_ADMIN will be equal toREPLICATION SLAVE+ADMIN PORT
in 5.6.This patch replaces the following 5.6 commits:
commit 2eeee2cad2786227213f248158738eb8470cba0f
Author: Zhicheng Zhu [email protected]
Date: Tue Oct 29 10:20:47 2019 -0700
commit 30f5d8f273609dd95245f0a6f3cf36fe8dda3726
Author: Zhicheng Zhu [email protected]
Date: Fri Sep 13 12:51:10 2019 -0700
commit 02d7ee4db7a16df45faf244c6854b3a51fb194a5
Author: Zhicheng Zhu [email protected]
Date: Mon Sep 9 16:03:33 2019 -0700