saveBRM on failover runs before the dbroot is exchanged. this could lead to saveBRM being run before the brm_saves_journal file exists on the new primary module on a OAM parent failure and could lead to load_brm hanging.
Reproduce by setting up multi-node glusterfs installation and perform large table import. After import completes kill PM1 and wait for PM2 to take over primary roll will see save_brm command run first then dbroot1 moved to PM2 and then load_brm called in logging.
Fix is to first move dbroot1 then run saveBRM this should allow load_brm to run successfully.
Part of this fix was reverted with other failover changes in MCOL-3842. This all was merged into 1.2.6 and 1.4.4 And will have been retested by MCOL-3842. Moving to test for 1.2.6 if necessary.
Ben Thompson (Inactive)
added a comment - - edited Part of this fix was reverted with other failover changes in MCOL-3842 . This all was merged into 1.2.6 and 1.4.4 And will have been retested by MCOL-3842 . Moving to test for 1.2.6 if necessary.
This was all merged in 1.2.6 with MCOL-3842 - Restesting of that MCOL in 1.2 should be sufficient for closing this if already completed.
Ben Thompson (Inactive)
added a comment - This was all merged in 1.2.6 with MCOL-3842 - Restesting of that MCOL in 1.2 should be sufficient for closing this if already completed.
Failover (PM1 to PM2) after a 10g lineitem import worked fine.
According to the debug.log on PM2, save_brm is still being executed first, then dbroot moved.
Daniel Lee (Inactive)
added a comment - Build tested: 1.4.4-1 (Jenkins 20200601)
Failover (PM1 to PM2) after a 10g lineitem import worked fine.
According to the debug.log on PM2, save_brm is still being executed first, then dbroot moved.
People
Ben Thompson (Inactive)
Ben Thompson (Inactive)
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":2253.4000000953674,"ttfb":287.7000002861023,"pageVisibility":"visible","entityId":85462,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"40598851-9d09-474c-9cc5-34887f4fc9b2","navigationType":0,"readyForUser":2331.800000190735,"redirectCount":0,"resourceLoadedEnd":1992,"resourceLoadedStart":308.5,"resourceTiming":[{"duration":757.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":308.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":308.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1066.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":757.6999998092651,"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":308.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":308.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1066.5,"responseStart":0,"secureConnectionStart":0},{"duration":1222.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":309,"connectEnd":309,"connectStart":309,"domainLookupEnd":309,"domainLookupStart":309,"fetchStart":309,"redirectEnd":0,"redirectStart":0,"requestStart":1094.6000003814697,"responseEnd":1531.4000000953674,"responseStart":1113.4000000953674,"secureConnectionStart":309},{"duration":1668.5,"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":309.2000002861023,"connectEnd":309.2000002861023,"connectStart":309.2000002861023,"domainLookupEnd":309.2000002861023,"domainLookupStart":309.2000002861023,"fetchStart":309.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1094.8000001907349,"responseEnd":1977.7000002861023,"responseStart":1117.4000000953674,"secureConnectionStart":309.2000002861023},{"duration":844.1999998092651,"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":309.30000019073486,"connectEnd":309.30000019073486,"connectStart":309.30000019073486,"domainLookupEnd":309.30000019073486,"domainLookupStart":309.30000019073486,"fetchStart":309.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":1094.9000000953674,"responseEnd":1153.5,"responseStart":1146.1000003814697,"secureConnectionStart":309.30000019073486},{"duration":845,"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":309.5,"connectEnd":309.5,"connectStart":309.5,"domainLookupEnd":309.5,"domainLookupStart":309.5,"fetchStart":309.5,"redirectEnd":0,"redirectStart":0,"requestStart":1095.1000003814697,"responseEnd":1154.5,"responseStart":1147.6000003814697,"secureConnectionStart":309.5},{"duration":853.5999999046326,"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":309.7000002861023,"connectEnd":309.7000002861023,"connectStart":309.7000002861023,"domainLookupEnd":309.7000002861023,"domainLookupStart":309.7000002861023,"fetchStart":309.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1095.7000002861023,"responseEnd":1163.3000001907349,"responseStart":1156.4000000953674,"secureConnectionStart":309.7000002861023},{"duration":779.3000001907349,"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":309.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":309.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1089.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":853.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":310,"connectEnd":310,"connectStart":310,"domainLookupEnd":310,"domainLookupStart":310,"fetchStart":310,"redirectEnd":0,"redirectStart":0,"requestStart":1095.9000000953674,"responseEnd":1163.8000001907349,"responseStart":1158.4000000953674,"secureConnectionStart":310},{"duration":779.1999998092651,"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":310.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":310.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1089.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":866.9000000953674,"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":310.40000009536743,"connectEnd":310.40000009536743,"connectStart":310.40000009536743,"domainLookupEnd":310.40000009536743,"domainLookupStart":310.40000009536743,"fetchStart":310.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":1096.1000003814697,"responseEnd":1177.3000001907349,"responseStart":1159.9000000953674,"secureConnectionStart":310.40000009536743},{"duration":1679.7999997138977,"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":311.1000003814697,"connectEnd":311.1000003814697,"connectStart":311.1000003814697,"domainLookupEnd":311.1000003814697,"domainLookupStart":311.1000003814697,"fetchStart":311.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1292.6000003814697,"responseEnd":1990.9000000953674,"responseStart":1978.6000003814697,"secureConnectionStart":311.1000003814697},{"duration":1680.7999997138977,"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":311.2000002861023,"connectEnd":311.2000002861023,"connectStart":311.2000002861023,"domainLookupEnd":311.2000002861023,"domainLookupStart":311.2000002861023,"fetchStart":311.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1566.3000001907349,"responseEnd":1992,"responseStart":1980.5,"secureConnectionStart":311.2000002861023},{"duration":174.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1873.2000002861023,"connectEnd":1873.2000002861023,"connectStart":1873.2000002861023,"domainLookupEnd":1873.2000002861023,"domainLookupStart":1873.2000002861023,"fetchStart":1873.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":2015.4000000953674,"responseEnd":2047.5,"responseStart":2046,"secureConnectionStart":1873.2000002861023}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":118,"responseStart":288,"responseEnd":297,"domLoading":294,"domInteractive":2384,"domContentLoadedEventStart":2385,"domContentLoadedEventEnd":2448,"domComplete":3171,"loadEventStart":3171,"loadEventEnd":3172,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2361.2000002861023},{"name":"bigPipe.sidebar-id.end","time":2362},{"name":"bigPipe.activity-panel-pipe-id.start","time":2362.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":2363.6000003814697},{"name":"activityTabFullyLoaded","time":2462.300000190735}],"measures":[],"correlationId":"29e7c637614bc3","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Looks ok. This will need to get into develop, and develop-1.
{2,4}also.