I've been updating one of my applications from OQGraphv2 to v3 and while initial tests showed everything working, I'm now getting troublesome crashes when I put some load on the OQGraph table.
The application is basically a webservice (in PHP) that queries the OQGraph table (schema attached) and returns the result. The query in itself should be fairly simple:
SELECT db.* FROM db_history AS db INNER JOIN version_history AS v ON db.nodeID = v.linkid WHERE origid = 1 AND destid = 3 AND latch = 'dijkstras';
When doing single sequential requests in the browser, everything works fine. But once I started to put some load on the webservice (using siege as load testing tool), MariaDB crashes quickly after 1-2 requests (crash dump attached), always with the same crash dump.
I should note that the database setup is a master-slave replication setup. I'm not sure that has anything to do with the crashes I'm seeing though.
I can reproduce this fairly easily and reliably in my test environment, on both the slave and the master node, but have not been successful so far in producing a test case that does not involve running siege.
{"report":{"fcp":2275.5999999046326,"ttfb":621.4000000953674,"pageVisibility":"visible","entityId":37819,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"399679bc-6f39-425c-b67d-e382a83ea4a7","navigationType":0,"readyForUser":2384.2000002861023,"redirectCount":0,"resourceLoadedEnd":2542,"resourceLoadedStart":627.8000001907349,"resourceTiming":[{"duration":709,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":627.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":627.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1336.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":709.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":628.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":628.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1337.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":734.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":628.2000002861023,"connectEnd":628.2000002861023,"connectStart":628.2000002861023,"domainLookupEnd":628.2000002861023,"domainLookupStart":628.2000002861023,"fetchStart":628.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":628.2000002861023,"responseEnd":1362.4000000953674,"responseStart":1362.4000000953674,"secureConnectionStart":628.2000002861023},{"duration":778.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":628.4000000953674,"connectEnd":628.4000000953674,"connectStart":628.4000000953674,"domainLookupEnd":628.4000000953674,"domainLookupStart":628.4000000953674,"fetchStart":628.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":628.4000000953674,"responseEnd":1407.0999999046326,"responseStart":1407.0999999046326,"secureConnectionStart":628.4000000953674},{"duration":795.4000000953674,"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":628.5999999046326,"connectEnd":628.5999999046326,"connectStart":628.5999999046326,"domainLookupEnd":628.5999999046326,"domainLookupStart":628.5999999046326,"fetchStart":628.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":628.5999999046326,"responseEnd":1424,"responseStart":1424,"secureConnectionStart":628.5999999046326},{"duration":795.9000000953674,"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":628.8000001907349,"connectEnd":628.8000001907349,"connectStart":628.8000001907349,"domainLookupEnd":628.8000001907349,"domainLookupStart":628.8000001907349,"fetchStart":628.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":628.8000001907349,"responseEnd":1424.7000002861023,"responseStart":1424.7000002861023,"secureConnectionStart":628.8000001907349},{"duration":796.2000002861023,"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":629,"connectEnd":629,"connectStart":629,"domainLookupEnd":629,"domainLookupStart":629,"fetchStart":629,"redirectEnd":0,"redirectStart":0,"requestStart":629,"responseEnd":1425.2000002861023,"responseStart":1425.2000002861023,"secureConnectionStart":629},{"duration":998.2999997138977,"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":629.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":629.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1627.5,"responseStart":0,"secureConnectionStart":0},{"duration":796.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":629.4000000953674,"connectEnd":629.4000000953674,"connectStart":629.4000000953674,"domainLookupEnd":629.4000000953674,"domainLookupStart":629.4000000953674,"fetchStart":629.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":629.4000000953674,"responseEnd":1426.2000002861023,"responseStart":1426.2000002861023,"secureConnectionStart":629.4000000953674},{"duration":998.6000003814697,"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":629.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":629.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1628.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":797.0999999046326,"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":629.7000002861023,"connectEnd":629.7000002861023,"connectStart":629.7000002861023,"domainLookupEnd":629.7000002861023,"domainLookupStart":629.7000002861023,"fetchStart":629.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":629.7000002861023,"responseEnd":1426.8000001907349,"responseStart":1426.8000001907349,"secureConnectionStart":629.7000002861023},{"duration":1342.8000001907349,"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":636.5,"connectEnd":636.5,"connectStart":636.5,"domainLookupEnd":636.5,"domainLookupStart":636.5,"fetchStart":636.5,"redirectEnd":0,"redirectStart":0,"requestStart":636.5,"responseEnd":1979.3000001907349,"responseStart":1979.3000001907349,"secureConnectionStart":636.5},{"duration":1905.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":636.5999999046326,"connectEnd":636.5999999046326,"connectStart":636.5999999046326,"domainLookupEnd":636.5999999046326,"domainLookupStart":636.5999999046326,"fetchStart":636.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":636.5999999046326,"responseEnd":2542,"responseStart":2542,"secureConnectionStart":636.5999999046326},{"duration":483.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1685.0999999046326,"connectEnd":1685.0999999046326,"connectStart":1685.0999999046326,"domainLookupEnd":1685.0999999046326,"domainLookupStart":1685.0999999046326,"fetchStart":1685.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1685.0999999046326,"responseEnd":2168.5999999046326,"responseStart":2168.5999999046326,"secureConnectionStart":1685.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":451,"responseStart":621,"responseEnd":625,"domLoading":626,"domInteractive":2573,"domContentLoadedEventStart":2573,"domContentLoadedEventEnd":2625,"domComplete":3312,"loadEventStart":3312,"loadEventEnd":3312,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2544},{"name":"bigPipe.sidebar-id.end","time":2544.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":2545.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":2547.9000000953674},{"name":"activityTabFullyLoaded","time":2644.5}],"measures":[],"correlationId":"b5c4971131a273","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":15,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Yes. If you plan to fix the bug (or do some change, whatever) in both 10.0 anf 10.1, then you only need to do it and provide a pull request for 10.0 — I'll take care of propagating it to 10.1. Of course, if you want something to be done in 10.1 only, then you just create a pull request for 10.1.