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":1449.3000001907349,"ttfb":743.5,"pageVisibility":"visible","entityId":85462,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"ea97db3f-a133-4554-a90a-475bd259b858","navigationType":0,"readyForUser":1529.0999999046326,"redirectCount":0,"resourceLoadedEnd":1324.5999999046326,"resourceLoadedStart":759.3000001907349,"resourceTiming":[{"duration":53.89999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":759.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":759.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":813.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":54.700000286102295,"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":759.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":759.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":814.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":153.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":759.8000001907349,"connectEnd":759.8000001907349,"connectStart":759.8000001907349,"domainLookupEnd":759.8000001907349,"domainLookupStart":759.8000001907349,"fetchStart":759.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":759.8000001907349,"responseEnd":913.4000000953674,"responseStart":913.4000000953674,"secureConnectionStart":759.8000001907349},{"duration":355.19999980926514,"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":760,"connectEnd":760,"connectStart":760,"domainLookupEnd":760,"domainLookupStart":760,"fetchStart":760,"redirectEnd":0,"redirectStart":0,"requestStart":916.6999998092651,"responseEnd":1115.1999998092651,"responseStart":928.5,"secureConnectionStart":760},{"duration":155.2000002861023,"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":760.1999998092651,"connectEnd":760.1999998092651,"connectStart":760.1999998092651,"domainLookupEnd":760.1999998092651,"domainLookupStart":760.1999998092651,"fetchStart":760.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":760.1999998092651,"responseEnd":915.4000000953674,"responseStart":915.4000000953674,"secureConnectionStart":760.1999998092651},{"duration":155.69999980926514,"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":760.3000001907349,"connectEnd":760.3000001907349,"connectStart":760.3000001907349,"domainLookupEnd":760.3000001907349,"domainLookupStart":760.3000001907349,"fetchStart":760.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":760.3000001907349,"responseEnd":916,"responseStart":916,"secureConnectionStart":760.3000001907349},{"duration":155.7000002861023,"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":760.5999999046326,"connectEnd":760.5999999046326,"connectStart":760.5999999046326,"domainLookupEnd":760.5999999046326,"domainLookupStart":760.5999999046326,"fetchStart":760.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":760.5999999046326,"responseEnd":916.3000001907349,"responseStart":916.3000001907349,"secureConnectionStart":760.5999999046326},{"duration":156.7999997138977,"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":760.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":760.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":917.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":155.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":760.9000000953674,"connectEnd":760.9000000953674,"connectStart":760.9000000953674,"domainLookupEnd":760.9000000953674,"domainLookupStart":760.9000000953674,"fetchStart":760.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":760.9000000953674,"responseEnd":916.6999998092651,"responseStart":916.6999998092651,"secureConnectionStart":760.9000000953674},{"duration":156.7000002861023,"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":761.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":761.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":917.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":156.09999990463257,"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":761.3000001907349,"connectEnd":761.3000001907349,"connectStart":761.3000001907349,"domainLookupEnd":761.3000001907349,"domainLookupStart":761.3000001907349,"fetchStart":761.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":761.3000001907349,"responseEnd":917.4000000953674,"responseStart":917.3000001907349,"secureConnectionStart":761.3000001907349},{"duration":491.90000009536743,"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":762.1999998092651,"connectEnd":762.1999998092651,"connectStart":762.1999998092651,"domainLookupEnd":762.1999998092651,"domainLookupStart":762.1999998092651,"fetchStart":762.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1004.0999999046326,"responseEnd":1254.0999999046326,"responseStart":1251.5999999046326,"secureConnectionStart":762.1999998092651},{"duration":562.4000000953674,"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":762.1999998092651,"connectEnd":762.1999998092651,"connectStart":762.1999998092651,"domainLookupEnd":762.1999998092651,"domainLookupStart":762.1999998092651,"fetchStart":762.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1311.4000000953674,"responseEnd":1324.5999999046326,"responseStart":1322,"secureConnectionStart":762.1999998092651},{"duration":212.39999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1135.8000001907349,"connectEnd":1135.8000001907349,"connectStart":1135.8000001907349,"domainLookupEnd":1135.8000001907349,"domainLookupStart":1135.8000001907349,"fetchStart":1135.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1311.9000000953674,"responseEnd":1348.1999998092651,"responseStart":1347.5,"secureConnectionStart":1135.8000001907349},{"duration":171.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1393.1999998092651,"connectEnd":1393.1999998092651,"connectStart":1393.1999998092651,"domainLookupEnd":1393.1999998092651,"domainLookupStart":1393.1999998092651,"fetchStart":1393.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1533,"responseEnd":1564.6999998092651,"responseStart":1564.0999999046326,"secureConnectionStart":1393.1999998092651},{"duration":168,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1442.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1442.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1610.4000000953674,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":174,"responseStart":743,"responseEnd":749,"domLoading":755,"domInteractive":1637,"domContentLoadedEventStart":1637,"domContentLoadedEventEnd":1684,"domComplete":1974,"loadEventStart":1974,"loadEventEnd":1975,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1612.5},{"name":"bigPipe.sidebar-id.end","time":1613.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1613.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1615},{"name":"activityTabFullyLoaded","time":1705.0999999046326}],"measures":[],"correlationId":"eb4ca8bcc59b02","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":98,"dbReadsTimeInMs":13,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Looks ok. This will need to get into develop, and develop-1.
{2,4}also.