Type:
New Feature
Priority:
Major
Resolution:
Unresolved
Fix Version/s:
None
I got this from a MariaDB user:
I have executed test on Galera Cluster. Notice the result of the test. DML operations are blocked for the duration of the DROP statement. If this was huge table with drop taking over 2-3min we might have serious issue on top loaded DCs.
+----------------+
| version() |
+----------------+
| 11.1.2-MariaDB |
+----------------+
SESSION1
MariaDB [testdb]> drop table bigtable1;
Query OK, 0 rows affected (8.487 sec)
SESSION2
MariaDB [testdb]> insert into t1 values (2,'Test123');
Query OK, 1 row affected (7.282 sec)
SESSION3
MariaDB [test]> insert into t values (2,'Test');
Query OK, 1 row affected (6.177 sec)
SESSION4
MariaDB [(none)]> show processlist;
+----+-------------+-----------+--------+---------+------+---------------------------+-------------------------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+----+-------------+-----------+--------+---------+------+---------------------------+-------------------------------------+----------+
| 1 | system user | | NULL | Sleep | 632 | wsrep aborter idle | NULL | 0.000 |
| 2 | system user | | NULL | Sleep | 632 | closing tables | NULL | 0.000 |
| 7 | system user | | NULL | Sleep | 80 | After apply log event | NULL | 0.000 |
| 9 | system user | | NULL | Sleep | 631 | wsrep applier idle | NULL | 0.000 |
| 10 | system user | | NULL | Sleep | 69 | wsrep applier committed | NULL | 0.000 |
| 12 | root | localhost | testdb | Query | 3 | Waiting for certification | insert into t1 values (2,'Test123') | 0.000 |
| 13 | root | localhost | testdb | Query | 4 | closing tables | drop table bigtable1 | 0.000 |
| 15 | root | localhost | test | Query | 1 | Waiting for certification | insert into t values (2,'Test') | 0.000 |
| 16 | root | localhost | NULL | Query | 0 | starting | show processlist | 0.000 |
+----+-------------+-----------+--------+---------+------+---------------------------+-------------------------------------+----------+
9 rows in set (0.000 sec)
{"report":{"fcp":820.5999999046326,"ttfb":206.89999985694885,"pageVisibility":"visible","entityId":126365,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"1eeefacf-0150-40a8-a10c-b5876e67030c","navigationType":0,"readyForUser":901.7000000476837,"redirectCount":0,"resourceLoadedEnd":975.5,"resourceLoadedStart":213,"resourceTiming":[{"duration":59.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":213,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":60.69999980926514,"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":213.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":273.89999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":130,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":213.39999985694885,"connectEnd":213.39999985694885,"connectStart":213.39999985694885,"domainLookupEnd":213.39999985694885,"domainLookupStart":213.39999985694885,"fetchStart":213.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":213.39999985694885,"responseEnd":343.39999985694885,"responseStart":343.39999985694885,"secureConnectionStart":213.39999985694885},{"duration":228.70000004768372,"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":213.5,"connectEnd":213.5,"connectStart":213.5,"domainLookupEnd":213.5,"domainLookupStart":213.5,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":213.5,"responseEnd":442.2000000476837,"responseStart":442.2000000476837,"secureConnectionStart":213.5},{"duration":232.29999995231628,"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":213.79999995231628,"connectEnd":213.79999995231628,"connectStart":213.79999995231628,"domainLookupEnd":213.79999995231628,"domainLookupStart":213.79999995231628,"fetchStart":213.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":213.79999995231628,"responseEnd":446.09999990463257,"responseStart":446.09999990463257,"secureConnectionStart":213.79999995231628},{"duration":232.59999990463257,"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":214,"connectEnd":214,"connectStart":214,"domainLookupEnd":214,"domainLookupStart":214,"fetchStart":214,"redirectEnd":0,"redirectStart":0,"requestStart":214,"responseEnd":446.59999990463257,"responseStart":446.59999990463257,"secureConnectionStart":214},{"duration":232.79999995231628,"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":214.20000004768372,"connectEnd":214.20000004768372,"connectStart":214.20000004768372,"domainLookupEnd":214.20000004768372,"domainLookupStart":214.20000004768372,"fetchStart":214.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":214.20000004768372,"responseEnd":447,"responseStart":447,"secureConnectionStart":214.20000004768372},{"duration":272.30000019073486,"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":214.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":486.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":233,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":214.5,"connectEnd":214.5,"connectStart":214.5,"domainLookupEnd":214.5,"domainLookupStart":214.5,"fetchStart":214.5,"redirectEnd":0,"redirectStart":0,"requestStart":214.5,"responseEnd":447.5,"responseStart":447.5,"secureConnectionStart":214.5},{"duration":272.09999990463257,"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":214.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":214.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":486.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":233.20000004768372,"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":214.89999985694885,"connectEnd":214.89999985694885,"connectStart":214.89999985694885,"domainLookupEnd":214.89999985694885,"domainLookupStart":214.89999985694885,"fetchStart":214.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":214.89999985694885,"responseEnd":448.09999990463257,"responseStart":448.09999990463257,"secureConnectionStart":214.89999985694885},{"duration":349.7999999523163,"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":216.20000004768372,"connectEnd":216.20000004768372,"connectStart":216.20000004768372,"domainLookupEnd":216.20000004768372,"domainLookupStart":216.20000004768372,"fetchStart":216.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":216.20000004768372,"responseEnd":566,"responseStart":566,"secureConnectionStart":216.20000004768372},{"duration":739.0999999046326,"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":216.29999995231628,"connectEnd":216.29999995231628,"connectStart":216.29999995231628,"domainLookupEnd":216.29999995231628,"domainLookupStart":216.29999995231628,"fetchStart":216.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":216.29999995231628,"responseEnd":955.3999998569489,"responseStart":955.3999998569489,"secureConnectionStart":216.29999995231628},{"duration":69,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":516.0999999046326,"connectEnd":516.0999999046326,"connectStart":516.0999999046326,"domainLookupEnd":516.0999999046326,"domainLookupStart":516.0999999046326,"fetchStart":516.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":516.0999999046326,"responseEnd":585.0999999046326,"responseStart":585.0999999046326,"secureConnectionStart":516.0999999046326},{"duration":204.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":770.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":770.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":975.5,"responseStart":0,"secureConnectionStart":0},{"duration":192.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":771.7000000476837,"connectEnd":771.7000000476837,"connectStart":771.7000000476837,"domainLookupEnd":771.7000000476837,"domainLookupStart":771.7000000476837,"fetchStart":771.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":771.7000000476837,"responseEnd":964,"responseStart":964,"secureConnectionStart":771.7000000476837},{"duration":198.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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&whisper-enabled=true","startTime":772.0999999046326,"connectEnd":772.0999999046326,"connectStart":772.0999999046326,"domainLookupEnd":772.0999999046326,"domainLookupStart":772.0999999046326,"fetchStart":772.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":772.0999999046326,"responseEnd":970.2000000476837,"responseStart":970.0999999046326,"secureConnectionStart":772.0999999046326},{"duration":253.79999995231628,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":813.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":813.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1066.8999998569489,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":49,"responseStart":207,"responseEnd":210,"domLoading":210,"domInteractive":1020,"domContentLoadedEventStart":1020,"domContentLoadedEventEnd":1063,"domComplete":1404,"loadEventStart":1404,"loadEventEnd":1406,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":988.3999998569489},{"name":"bigPipe.sidebar-id.end","time":989.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":989.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":992.7000000476837},{"name":"activityTabFullyLoaded","time":1074}],"measures":[],"correlationId":"ba86e041e1c9cd","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":94,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}