Type:
Bug
Priority:
Major
Resolution:
Not a Bug
Affects Version/s:
N/A
According to the description in MDEV-17554 ,
It is assumed that one DML command will not generate history rows more
than specified LIMIT. Otherwise history would overflow generated
partition, a warning would be printed, and user action would be
required to rebuild partitions
There is no warning.
In the test case below, the limit is 1000, and each DELETE moves 1200 rows into a historical partition. It is done twice in case of the first DELETE doesn't produce a warning due to MDEV-25475 ; but the second one does not do it either, neither in the client nor in the error log.
bb-10.6-midenok-MDEV-17554 edbc73ac48
MariaDB [test]> create or replace table t (x int ) engine=MyISAM with system versioning partition by system_time limit 1000 auto;
Query OK, 0 rows affected (0.038 sec)
MariaDB [test]> insert into t select seq from seq_1_to_2500;
Query OK, 2500 rows affected (0.010 sec)
Records: 2500 Duplicates: 0 Warnings: 0
MariaDB [test]> delete from t limit 1200;
Query OK, 1200 rows affected (0.011 sec)
MariaDB [test]> delete from t limit 1200;
Query OK, 1200 rows affected (0.037 sec)
Elena Stepanova
made changes -
2021-04-21 18:15
Link
This issue relates to TODO-2268
[ TODO-2268
]
Aleksey Midenkov
made changes -
2021-04-22 19:32
Fix Version/s
N/A
[ 14700
]
Fix Version/s
10.6
[ 24028
]
Resolution
Not a Bug
[ 6
]
Status
Open
[ 1
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:53
Workflow
MariaDB v3
[ 121272
]
MariaDB v4
[ 159175
]
{"report":{"fcp":1127.3000000715256,"ttfb":211.30000007152557,"pageVisibility":"visible","entityId":99053,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"8c8a9e7a-f839-4f68-91bc-6be7dc4c88f2","navigationType":0,"readyForUser":1206.1000000238419,"redirectCount":0,"resourceLoadedEnd":1441.6000000238419,"resourceLoadedStart":216.80000007152557,"resourceTiming":[{"duration":440.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":216.80000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":656.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":440.10000002384186,"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":217,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":217,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":657.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":448.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":217.20000004768372,"connectEnd":217.20000004768372,"connectStart":217.20000004768372,"domainLookupEnd":217.20000004768372,"domainLookupStart":217.20000004768372,"fetchStart":217.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":217.20000004768372,"responseEnd":666,"responseStart":666,"secureConnectionStart":217.20000004768372},{"duration":494.40000009536743,"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":217.39999997615814,"connectEnd":217.39999997615814,"connectStart":217.39999997615814,"domainLookupEnd":217.39999997615814,"domainLookupStart":217.39999997615814,"fetchStart":217.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":217.39999997615814,"responseEnd":711.8000000715256,"responseStart":711.8000000715256,"secureConnectionStart":217.39999997615814},{"duration":497.7999999523163,"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":217.70000004768372,"connectEnd":217.70000004768372,"connectStart":217.70000004768372,"domainLookupEnd":217.70000004768372,"domainLookupStart":217.70000004768372,"fetchStart":217.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":217.70000004768372,"responseEnd":715.5,"responseStart":715.5,"secureConnectionStart":217.70000004768372},{"duration":539.8000000715256,"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":217.89999997615814,"connectEnd":217.89999997615814,"connectStart":217.89999997615814,"domainLookupEnd":217.89999997615814,"domainLookupStart":217.89999997615814,"fetchStart":217.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":217.89999997615814,"responseEnd":757.7000000476837,"responseStart":757.7000000476837,"secureConnectionStart":217.89999997615814},{"duration":540,"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":218,"connectEnd":218,"connectStart":218,"domainLookupEnd":218,"domainLookupStart":218,"fetchStart":218,"redirectEnd":0,"redirectStart":0,"requestStart":218,"responseEnd":758,"responseStart":758,"secureConnectionStart":218},{"duration":590.1000000238419,"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":218.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":808.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":540.1000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":218.39999997615814,"connectEnd":218.39999997615814,"connectStart":218.39999997615814,"domainLookupEnd":218.39999997615814,"domainLookupStart":218.39999997615814,"fetchStart":218.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":218.39999997615814,"responseEnd":758.5,"responseStart":758.5,"secureConnectionStart":218.39999997615814},{"duration":589.8999999761581,"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":218.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":218.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":808.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":540.3999999761581,"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":218.60000002384186,"connectEnd":218.60000002384186,"connectStart":218.60000002384186,"domainLookupEnd":218.60000002384186,"domainLookupStart":218.60000002384186,"fetchStart":218.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":218.60000002384186,"responseEnd":759,"responseStart":759,"secureConnectionStart":218.60000002384186},{"duration":710.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":219.39999997615814,"connectEnd":219.39999997615814,"connectStart":219.39999997615814,"domainLookupEnd":219.39999997615814,"domainLookupStart":219.39999997615814,"fetchStart":219.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":219.39999997615814,"responseEnd":929.6000000238419,"responseStart":929.6000000238419,"secureConnectionStart":219.39999997615814},{"duration":1213.3999999761581,"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":223.70000004768372,"connectEnd":223.70000004768372,"connectStart":223.70000004768372,"domainLookupEnd":223.70000004768372,"domainLookupStart":223.70000004768372,"fetchStart":223.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":223.70000004768372,"responseEnd":1437.1000000238419,"responseStart":1437.1000000238419,"secureConnectionStart":223.70000004768372},{"duration":110.10000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":820,"connectEnd":820,"connectStart":820,"domainLookupEnd":820,"domainLookupStart":820,"fetchStart":820,"redirectEnd":0,"redirectStart":0,"requestStart":820,"responseEnd":930.1000000238419,"responseStart":930.1000000238419,"secureConnectionStart":820},{"duration":359.10000002384186,"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":1082.5,"connectEnd":1082.5,"connectStart":1082.5,"domainLookupEnd":1082.5,"domainLookupStart":1082.5,"fetchStart":1082.5,"redirectEnd":0,"redirectStart":0,"requestStart":1082.5,"responseEnd":1441.6000000238419,"responseStart":1441.6000000238419,"secureConnectionStart":1082.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":3,"responseStart":212,"responseEnd":216,"domLoading":215,"domInteractive":1461,"domContentLoadedEventStart":1461,"domContentLoadedEventEnd":1502,"domComplete":2095,"loadEventStart":2095,"loadEventEnd":2095,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1438.8000000715256},{"name":"bigPipe.sidebar-id.end","time":1439.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1439.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1441.8000000715256},{"name":"activityTabFullyLoaded","time":1515.5}],"measures":[],"correlationId":"c3199f3e612098","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":147,"dbReadsTimeInMs":28,"dbConnsTimeInMs":38,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}