Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.3.34 , 10.4.24 , 10.5.15 , 10.6.7 , 10.7.3 , 10.8.2
When running SHOW SLAVE STATUS on a slave set up to use SSL/TLS encryption to fetch binlog events from the master the Master_SSL_Crl field in the status output wrongly shows the same value as Master_SSL_CA .
E.g. set up slave with:
CHANGE MASTER TO
MASTER_HOST='master',
MASTER_USER='repl',
MASTER_PASSWORD='...',
MASTER_USE_GTID=slave_pos,
MASTER_SSL=1,
MASTER_SSL_CERT = '/vagrant/files/x509/slave-cert.pem',
MASTER_SSL_KEY = '/vagrant/files/x509/slave-key.pem',
MASTER_SSL_CA = '/vagrant/files/x509/ca-cert.pem',
MASTER_SSL_CRL = '/vagrant/files/x509/crl.pem';
gives this on SHOW SLAVE STATUS:
MariaDB [(none)]> show slave status\G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: master
Master_User: repl
...
Master_SSL_Allowed: Yes
Master_SSL_CA_File: /vagrant/files/x509/ca-cert.pem
Master_SSL_CA_Path:
Master_SSL_Cert: /vagrant/files/x509/slave-1-cert.pem
Master_SSL_Cipher:
Master_SSL_Key: /vagrant/files/x509/slave-1-key.pem
Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
...
Master_SSL_Crl: /vagrant/files/x509/ca-cert.pem
Master_SSL_Crlpath:
The master.info file correctly shows the file name given to Master_SSL_Crl in CHANGE MASTER TO though.
I tried to find in the code where this goes wrong, but all uses of the ssl_crl field in replication related code look correct to me ... :o
{"report":{"fcp":1383.3999996185303,"ttfb":338.5,"pageVisibility":"visible","entityId":110360,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f18a5bf0-c541-4d65-a084-31a74b1ab6da","navigationType":0,"readyForUser":1488.3000001907349,"redirectCount":0,"resourceLoadedEnd":1637.8999996185303,"resourceLoadedStart":363.30000019073486,"resourceTiming":[{"duration":298.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":363.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":363.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":662.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":392.0999994277954,"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":363.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":363.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":755.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":403,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":363.80000019073486,"connectEnd":363.80000019073486,"connectStart":363.80000019073486,"domainLookupEnd":363.80000019073486,"domainLookupStart":363.80000019073486,"fetchStart":363.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":363.80000019073486,"responseEnd":766.8000001907349,"responseStart":766.8000001907349,"secureConnectionStart":363.80000019073486},{"duration":518,"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":363.8999996185303,"connectEnd":363.8999996185303,"connectStart":363.8999996185303,"domainLookupEnd":363.8999996185303,"domainLookupStart":363.8999996185303,"fetchStart":363.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":363.8999996185303,"responseEnd":881.8999996185303,"responseStart":881.8999996185303,"secureConnectionStart":363.8999996185303},{"duration":545.5999994277954,"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":364.30000019073486,"connectEnd":364.30000019073486,"connectStart":364.30000019073486,"domainLookupEnd":364.30000019073486,"domainLookupStart":364.30000019073486,"fetchStart":364.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":364.30000019073486,"responseEnd":909.8999996185303,"responseStart":909.8999996185303,"secureConnectionStart":364.30000019073486},{"duration":546.9000005722046,"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":364.3999996185303,"connectEnd":364.3999996185303,"connectStart":364.3999996185303,"domainLookupEnd":364.3999996185303,"domainLookupStart":364.3999996185303,"fetchStart":364.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":364.3999996185303,"responseEnd":911.3000001907349,"responseStart":911.3000001907349,"secureConnectionStart":364.3999996185303},{"duration":547.1999998092651,"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":364.6000003814697,"connectEnd":364.6000003814697,"connectStart":364.6000003814697,"domainLookupEnd":364.6000003814697,"domainLookupStart":364.6000003814697,"fetchStart":364.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":364.6000003814697,"responseEnd":911.8000001907349,"responseStart":911.8000001907349,"secureConnectionStart":364.6000003814697},{"duration":619.8000001907349,"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":364.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":364.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":984.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":547.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":365,"connectEnd":365,"connectStart":365,"domainLookupEnd":365,"domainLookupStart":365,"fetchStart":365,"redirectEnd":0,"redirectStart":0,"requestStart":365,"responseEnd":912.1999998092651,"responseStart":912.1999998092651,"secureConnectionStart":365},{"duration":619.8999996185303,"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":365.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":365.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":985,"responseStart":0,"secureConnectionStart":0},{"duration":547.5,"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":365.30000019073486,"connectEnd":365.30000019073486,"connectStart":365.30000019073486,"domainLookupEnd":365.30000019073486,"domainLookupStart":365.30000019073486,"fetchStart":365.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":365.30000019073486,"responseEnd":912.8000001907349,"responseStart":912.8000001907349,"secureConnectionStart":365.30000019073486},{"duration":1003.2999992370605,"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":366.1000003814697,"connectEnd":366.1000003814697,"connectStart":366.1000003814697,"domainLookupEnd":366.1000003814697,"domainLookupStart":366.1000003814697,"fetchStart":366.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":366.1000003814697,"responseEnd":1369.3999996185303,"responseStart":1369.3999996185303,"secureConnectionStart":366.1000003814697},{"duration":1271.6999998092651,"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":366.19999980926514,"connectEnd":366.19999980926514,"connectStart":366.19999980926514,"domainLookupEnd":366.19999980926514,"domainLookupStart":366.19999980926514,"fetchStart":366.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":366.19999980926514,"responseEnd":1637.8999996185303,"responseStart":1637.8999996185303,"secureConnectionStart":366.19999980926514},{"duration":355.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1024.6999998092651,"connectEnd":1024.6999998092651,"connectStart":1024.6999998092651,"domainLookupEnd":1024.6999998092651,"domainLookupStart":1024.6999998092651,"fetchStart":1024.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1024.6999998092651,"responseEnd":1380.1999998092651,"responseStart":1380.1999998092651,"secureConnectionStart":1024.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":185,"responseStart":338,"responseEnd":349,"domLoading":361,"domInteractive":1680,"domContentLoadedEventStart":1680,"domContentLoadedEventEnd":1730,"domComplete":2824,"loadEventStart":2824,"loadEventEnd":2826,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1640.5},{"name":"bigPipe.sidebar-id.end","time":1641.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1641.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1644.1000003814697},{"name":"activityTabFullyLoaded","time":1735.6000003814697}],"measures":[],"correlationId":"a160c4f7a04b05","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}