Type:
New Feature
Priority:
Major
Resolution:
Unresolved
MySQL has allowed the MASTER_BIND option for CHANGE MASTER since MySQL 5.6.2:
MASTER_BIND is for use on replication slaves having multiple network interfaces, and determines which of the slave's network interfaces is chosen for connecting to the master.
The address configured with this option, if any, can be seen in the Master_Bind column of the output from SHOW SLAVE STATUS. If you are using slave status log tables (server started with --master-info-repository=TABLE), the value can also be seen as the Master_bind column of the mysql.slave_master_info table.
The ability to bind a replication slave to a specific network interface was added in MySQL 5.6.2. This is also supported by MySQL NDB Cluster 7.3.1 and later.
https://dev.mysql.com/doc/refman/5.6/en/change-master-to.html
Do we want to implement this option?
https://mariadb.com/kb/en/library/change-master-to/#master_bind
Ralf Gebhardt
made changes -
2021-04-12 10:24
Fix Version/s
10.4
[ 22408
]
Sergei Golubchik
made changes -
2021-12-06 21:21
Workflow
MariaDB v3
[ 95364
]
MariaDB v4
[ 131062
]
AirFocus
made changes -
2022-08-09 16:10
Description
MySQL has allowed the MASTER_BIND option for CHANGE MASTER since MySQL 5.6.2:
{quote}
MASTER_BIND is for use on replication slaves having multiple network interfaces, and determines which of the slave's network interfaces is chosen for connecting to the master.
The address configured with this option, if any, can be seen in the Master_Bind column of the output from SHOW SLAVE STATUS. If you are using slave status log tables (server started with --master-info-repository=TABLE), the value can also be seen as the Master_bind column of the mysql.slave_master_info table.
The ability to bind a replication slave to a specific network interface was added in MySQL 5.6.2. This is also supported by MySQL NDB Cluster 7.3.1 and later.
{quote}
https://dev.mysql.com/doc/refman/5.6/en/change-master-to.html
Do we want to implement this option?
https://mariadb.com/kb/en/library/change-master-to/#master_bind
MySQL has allowed the MASTER\_BIND option for CHANGE MASTER since MySQL 5.6.2:
{quote}
MASTER_BIND is for use on replication slaves having multiple network interfaces, and determines which of the slave's network interfaces is chosen for connecting to the master.
The address configured with this option, if any, can be seen in the Master_Bind column of the output from SHOW SLAVE STATUS. If you are using slave status log tables (server started with --master-info-repository=TABLE), the value can also be seen as the Master_bind column of the mysql.slave_master_info table.
The ability to bind a replication slave to a specific network interface was added in MySQL 5.6.2. This is also supported by MySQL NDB Cluster 7.3.1 and later.
{quote}
https://dev.mysql.com/doc/refman/5.6/en/change-master-to.html
Do we want to implement this option?
https://mariadb.com/kb/en/library/change-master-to/#master \_bind
Daniel Black
made changes -
2023-07-12 22:49
Labels
compat56
Papercut beginner-friendly compat56
Julien Fritsch
made changes -
2023-11-30 16:29
Issue Type
Task
[ 3
]
New Feature
[ 2
]
Ralf Gebhardt
made changes -
2025-02-28 08:15
Labels
Papercut beginner-friendly compat56
Compatibility MySQL Papercut beginner-friendly compat56
Julien Fritsch
made changes -
2025-03-07 13:57
Assignee
Sergei Golubchik
[ serg
]
Sergei Golubchik
made changes -
2025-03-07 16:12
Assignee
Sergei Golubchik
[ serg
]
Julien Fritsch
made changes -
2025-03-07 16:59
Assignee
Brandon Nesterenko
[ JIRAUSER48702
]
Jimmy Hú
made changes -
2025-03-07 20:19
Assignee
Brandon Nesterenko
[ JIRAUSER48702
]
Jimmy Hú
[ JIRAUSER55761
]
Jimmy Hú
made changes -
2025-03-07 22:52
Remote Link
This issue links to "MySQL 9.2 (Web Link)"
[ 37438
]
Jimmy Hú
made changes -
2025-03-08 00:25
Remote Link
This issue links to "WL#3127 (Web Link)"
[ 37439
]
Jimmy Hú
made changes -
2025-03-10 00:59
Fix Version/s
12.0
[ 29945
]
Jimmy Hú
made changes -
2025-03-10 00:59
Status
Open
[ 1
]
In Progress
[ 3
]
Jimmy Hú
made changes -
2025-03-10 01:28
Status
In Progress
[ 3
]
In Testing
[ 10301
]
Jimmy Hú
made changes -
2025-03-10 01:28
Assignee
Jimmy Hú
[ JIRAUSER55761
]
Susil Behera
[ JIRAUSER40751
]
Brandon Nesterenko
made changes -
2025-03-13 21:00
Fix Version/s
12.1
[ 29992
]
Fix Version/s
12.0
[ 29945
]
Brandon Nesterenko
made changes -
2025-03-14 13:55
Fix Version/s
12.0
[ 29945
]
Fix Version/s
12.1
[ 29992
]
Brandon Nesterenko
made changes -
2025-03-14 13:55
Assignee
Susil Behera
[ JIRAUSER40751
]
Brandon Nesterenko
[ JIRAUSER48702
]
Brandon Nesterenko
made changes -
2025-03-14 13:55
Status
In Testing
[ 10301
]
Stalled
[ 10000
]
Brandon Nesterenko
made changes -
2025-03-14 13:55
Status
Stalled
[ 10000
]
In Review
[ 10002
]
Brandon Nesterenko
made changes -
2025-03-17 18:13
Assignee
Brandon Nesterenko
[ JIRAUSER48702
]
Jimmy Hú
[ JIRAUSER55761
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Sergei Golubchik
made changes -
2025-03-18 15:44
Fix Version/s
12.1
[ 29992
]
Fix Version/s
12.0
[ 29945
]
{"report":{"fcp":947.2999997138977,"ttfb":239.40000009536743,"pageVisibility":"visible","entityId":75350,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"8531cb46-3dea-4b7c-8461-23f02ed2a55c","navigationType":0,"readyForUser":1023.1999998092651,"redirectCount":0,"resourceLoadedEnd":753.2999997138977,"resourceLoadedStart":245.2999997138977,"resourceTiming":[{"duration":226.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":245.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":245.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":472.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":226.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":245.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":245.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":472.5,"responseStart":0,"secureConnectionStart":0},{"duration":235.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":245.7999997138977,"connectEnd":245.7999997138977,"connectStart":245.7999997138977,"domainLookupEnd":245.7999997138977,"domainLookupStart":245.7999997138977,"fetchStart":245.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":245.7999997138977,"responseEnd":481,"responseStart":481,"secureConnectionStart":245.7999997138977},{"duration":260.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":246,"connectEnd":246,"connectStart":246,"domainLookupEnd":246,"domainLookupStart":246,"fetchStart":246,"redirectEnd":0,"redirectStart":0,"requestStart":246,"responseEnd":506.59999990463257,"responseStart":506.59999990463257,"secureConnectionStart":246},{"duration":264.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":246.19999980926514,"connectEnd":246.19999980926514,"connectStart":246.19999980926514,"domainLookupEnd":246.19999980926514,"domainLookupStart":246.19999980926514,"fetchStart":246.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":246.19999980926514,"responseEnd":510.5,"responseStart":510.5,"secureConnectionStart":246.19999980926514},{"duration":264.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":246.40000009536743,"connectEnd":246.40000009536743,"connectStart":246.40000009536743,"domainLookupEnd":246.40000009536743,"domainLookupStart":246.40000009536743,"fetchStart":246.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":246.40000009536743,"responseEnd":511,"responseStart":511,"secureConnectionStart":246.40000009536743},{"duration":264.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":246.5,"connectEnd":246.5,"connectStart":246.5,"domainLookupEnd":246.5,"domainLookupStart":246.5,"fetchStart":246.5,"redirectEnd":0,"redirectStart":0,"requestStart":246.5,"responseEnd":511.40000009536743,"responseStart":511.40000009536743,"secureConnectionStart":246.5},{"duration":267.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":246.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":246.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":514.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":265,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":246.90000009536743,"connectEnd":246.90000009536743,"connectStart":246.90000009536743,"domainLookupEnd":246.90000009536743,"domainLookupStart":246.90000009536743,"fetchStart":246.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":246.90000009536743,"responseEnd":511.90000009536743,"responseStart":511.90000009536743,"secureConnectionStart":246.90000009536743},{"duration":267.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":247,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":247,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":514.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":265.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":247.09999990463257,"connectEnd":247.09999990463257,"connectStart":247.09999990463257,"domainLookupEnd":247.09999990463257,"domainLookupStart":247.09999990463257,"fetchStart":247.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":247.09999990463257,"responseEnd":512.5,"responseStart":512.5,"secureConnectionStart":247.09999990463257},{"duration":296.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":248.19999980926514,"connectEnd":248.19999980926514,"connectStart":248.19999980926514,"domainLookupEnd":248.19999980926514,"domainLookupStart":248.19999980926514,"fetchStart":248.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":248.19999980926514,"responseEnd":544.5999999046326,"responseStart":544.5999999046326,"secureConnectionStart":248.19999980926514},{"duration":497.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":255.90000009536743,"connectEnd":255.90000009536743,"connectStart":255.90000009536743,"domainLookupEnd":255.90000009536743,"domainLookupStart":255.90000009536743,"fetchStart":255.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":255.90000009536743,"responseEnd":753.2999997138977,"responseStart":753.2999997138977,"secureConnectionStart":255.90000009536743},{"duration":187.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":707.0999999046326,"connectEnd":707.0999999046326,"connectStart":707.0999999046326,"domainLookupEnd":707.0999999046326,"domainLookupStart":707.0999999046326,"fetchStart":707.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":707.0999999046326,"responseEnd":894.9000000953674,"responseStart":894.9000000953674,"secureConnectionStart":707.0999999046326},{"duration":189,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":962.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":962.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1151.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":188.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":962.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":962.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1151.5,"responseStart":0,"secureConnectionStart":0},{"duration":184.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":963.7999997138977,"connectEnd":963.7999997138977,"connectStart":963.7999997138977,"domainLookupEnd":963.7999997138977,"domainLookupStart":963.7999997138977,"fetchStart":963.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":963.7999997138977,"responseEnd":1148.4000000953674,"responseStart":1148.4000000953674,"secureConnectionStart":963.7999997138977},{"duration":191.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":964.2999997138977,"connectEnd":964.2999997138977,"connectStart":964.2999997138977,"domainLookupEnd":964.2999997138977,"domainLookupStart":964.2999997138977,"fetchStart":964.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":964.2999997138977,"responseEnd":1156.1999998092651,"responseStart":1156.1999998092651,"secureConnectionStart":964.2999997138977},{"duration":193,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":964.7999997138977,"connectEnd":964.7999997138977,"connectStart":964.7999997138977,"domainLookupEnd":964.7999997138977,"domainLookupStart":964.7999997138977,"fetchStart":964.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":964.7999997138977,"responseEnd":1157.7999997138977,"responseStart":1157.7999997138977,"secureConnectionStart":964.7999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":240,"responseEnd":244,"domLoading":243,"domInteractive":1095,"domContentLoadedEventStart":1095,"domContentLoadedEventEnd":1151,"domComplete":1299,"loadEventStart":1299,"loadEventEnd":1299,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1056.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1057.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1058},{"name":"bigPipe.activity-panel-pipe-id.end","time":1064.1999998092651},{"name":"activityTabFullyLoaded","time":1176}],"measures":[],"correlationId":"13da854f3e932f","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":171,"dbReadsTimeInMs":42,"dbConnsTimeInMs":53,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
https://github.com/MariaDB/server/pull/3883
I don’t want this to be merely a dummy compatibility field, yet I can’t tell if the function I coded works. susil.behera could you lend a hand?