Currently most of dbms imploying that kinda greey logic
that take the lock for atom. (For example,
if, there is few hundreds of requests from multiple and concurrent location to
one single record to insert/update/alter what every concurrent. This situation only allow to get the lock for an user when only luckly reach the record. which mean very randomly can get a lock.) This situation make problem hard to solve.
So strongly suggest you to improve deadlock problem which go down in history,
manage lock request as FIFO in order and give the lock in sequence/arrival order.
Fro example,
no1. request insert
no2. request update
no3. request select!
no4. request select
no5. request alter
no6. request select!
no7. request delete
no8. request another alter
no9. request select!
each of request will be arraived in the db system in order(sure, system-wise, there is no real concurrent) and must be applied in sequence. Not greedly make rece condition that today's unresolvable problem. The semapore or mutex or whatever lock mechnism will be totally redesigned to beFIFO managed without performance impact.
It also has to be turn-of/off by config. default off.
Attachments
Issue Links
relates to
MDEV-11039Add new scheduling algorithm for reducing tail latencies
Closed
MDEV-16664InnoDB: Failing assertion: !other_lock || wsrep_thd_is_BF ... if innodb_lock_schedule_algorithm=VATS
That innodb_lock_schedule_algorithm=VATS seems simliar concept.
Question 1 - So no more support for innodb_lock_schedule_algorithm=VATS. Am I correct?
Question 2 - the thicket about managing lock Q for entire requests arrived in order. Not only just right after release lock situation since massive concurrent request environment. You guys acuatlly only people to improve the system from now. So, technically, totally impossible?
Mitchell Lee
added a comment - - edited That innodb_lock_schedule_algorithm=VATS seems simliar concept.
Question 1 - So no more support for innodb_lock_schedule_algorithm=VATS. Am I correct?
Question 2 - the thicket about managing lock Q for entire requests arrived in order. Not only just right after release lock situation since massive concurrent request environment. You guys acuatlly only people to improve the system from now. So, technically, totally impossible?
People
Unassigned
Mitchell Lee
Votes:
0Vote for this issue
Watchers:
4Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":784.7000000476837,"ttfb":173.60000002384186,"pageVisibility":"visible","entityId":119741,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"75638132-b3c7-4337-9d9a-40d11573893d","navigationType":0,"readyForUser":842.8000000715256,"redirectCount":0,"resourceLoadedEnd":893,"resourceLoadedStart":179.20000004768372,"resourceTiming":[{"duration":42.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":179.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":222,"responseStart":0,"secureConnectionStart":0},{"duration":42.800000071525574,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":179.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":222.30000007152557,"responseStart":0,"secureConnectionStart":0},{"duration":106.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":179.70000004768372,"connectEnd":179.70000004768372,"connectStart":179.70000004768372,"domainLookupEnd":179.70000004768372,"domainLookupStart":179.70000004768372,"fetchStart":179.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":179.70000004768372,"responseEnd":286.3000000715256,"responseStart":286.3000000715256,"secureConnectionStart":179.70000004768372},{"duration":169.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":179.80000007152557,"connectEnd":179.80000007152557,"connectStart":179.80000007152557,"domainLookupEnd":179.80000007152557,"domainLookupStart":179.80000007152557,"fetchStart":179.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":179.80000007152557,"responseEnd":349.60000002384186,"responseStart":349.60000002384186,"secureConnectionStart":179.80000007152557},{"duration":173.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":180,"connectEnd":180,"connectStart":180,"domainLookupEnd":180,"domainLookupStart":180,"fetchStart":180,"redirectEnd":0,"redirectStart":0,"requestStart":180,"responseEnd":353.5,"responseStart":353.5,"secureConnectionStart":180},{"duration":173.69999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":180.30000007152557,"connectEnd":180.30000007152557,"connectStart":180.30000007152557,"domainLookupEnd":180.30000007152557,"domainLookupStart":180.30000007152557,"fetchStart":180.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":180.30000007152557,"responseEnd":354,"responseStart":354,"secureConnectionStart":180.30000007152557},{"duration":174.19999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":180.40000009536743,"connectEnd":180.40000009536743,"connectStart":180.40000009536743,"domainLookupEnd":180.40000009536743,"domainLookupStart":180.40000009536743,"fetchStart":180.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":180.40000009536743,"responseEnd":354.60000002384186,"responseStart":354.60000002384186,"secureConnectionStart":180.40000009536743},{"duration":246.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":180.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":426.8000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":174.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":180.70000004768372,"connectEnd":180.70000004768372,"connectStart":180.70000004768372,"domainLookupEnd":180.70000004768372,"domainLookupStart":180.70000004768372,"fetchStart":180.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":180.70000004768372,"responseEnd":355.3000000715256,"responseStart":355.3000000715256,"secureConnectionStart":180.70000004768372},{"duration":246,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":180.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":426.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":174.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":181.10000002384186,"connectEnd":181.10000002384186,"connectStart":181.10000002384186,"domainLookupEnd":181.10000002384186,"domainLookupStart":181.10000002384186,"fetchStart":181.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":181.10000002384186,"responseEnd":356,"responseStart":356,"secureConnectionStart":181.10000002384186},{"duration":549.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":182,"connectEnd":182,"connectStart":182,"domainLookupEnd":182,"domainLookupStart":182,"fetchStart":182,"redirectEnd":0,"redirectStart":0,"requestStart":182,"responseEnd":731.2000000476837,"responseStart":731.2000000476837,"secureConnectionStart":182},{"duration":549.8000000715256,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":182,"connectEnd":182,"connectStart":182,"domainLookupEnd":182,"domainLookupStart":182,"fetchStart":182,"redirectEnd":0,"redirectStart":0,"requestStart":182,"responseEnd":731.8000000715256,"responseStart":731.8000000715256,"secureConnectionStart":182},{"duration":186.89999997615814,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":438.3000000715256,"connectEnd":438.3000000715256,"connectStart":438.3000000715256,"domainLookupEnd":438.3000000715256,"domainLookupStart":438.3000000715256,"fetchStart":438.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":438.3000000715256,"responseEnd":625.2000000476837,"responseStart":625.2000000476837,"secureConnectionStart":438.3000000715256},{"duration":52.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":690.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":690.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":743.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":52.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2bu7/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","startTime":691.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":691.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":743.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":195.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":692,"connectEnd":692,"connectStart":692,"domainLookupEnd":692,"domainLookupStart":692,"fetchStart":692,"redirectEnd":0,"redirectStart":0,"requestStart":692,"responseEnd":887.2000000476837,"responseStart":887.2000000476837,"secureConnectionStart":692},{"duration":199.19999992847443,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":692.3000000715256,"connectEnd":692.3000000715256,"connectStart":692.3000000715256,"domainLookupEnd":692.3000000715256,"domainLookupStart":692.3000000715256,"fetchStart":692.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":692.3000000715256,"responseEnd":891.5,"responseStart":891.5,"secureConnectionStart":692.3000000715256},{"duration":200.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/86ee9bbc76cd1bcd8556fcdcf46241c9-CDN/lu2bu7/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","startTime":692.6000000238419,"connectEnd":692.6000000238419,"connectStart":692.6000000238419,"domainLookupEnd":692.6000000238419,"domainLookupStart":692.6000000238419,"fetchStart":692.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":692.6000000238419,"responseEnd":893,"responseStart":893,"secureConnectionStart":692.6000000238419},{"duration":174.79999995231628,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":778.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":778.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":953,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":22,"responseStart":173,"responseEnd":176,"domLoading":177,"domInteractive":904,"domContentLoadedEventStart":904,"domContentLoadedEventEnd":946,"domComplete":1154,"loadEventStart":1154,"loadEventEnd":1154,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":880},{"name":"bigPipe.sidebar-id.end","time":880.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":880.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":882.4000000953674},{"name":"activityTabFullyLoaded","time":966.6000000238419}],"measures":[],"correlationId":"f01ae15404b9a4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I believe that someone attempted to do something like this before.