Type:
Bug
Priority:
Major
Resolution:
Not a Bug
Affects Version/s:
None
I'm facing the following situation. There is periodic procedure calling by event (CREATE EVENT) that modifies record and commits. There are two additional sessions (one by HeidiSQL, one by mysql command line tool) that issue select on view based on the table involved. I noticed outdated values, returned by mysql session while another session return accurate new value of datetime column.
Then (in mysql session) I issue "flush tables" command. Then on next execution I get new value.
This upsets me. I was expecting to get the latest column value regardless "flush tables". Is that designed behavior? Are there some system settings that affect the logic? Should I issue "flush tables" every time before issuing select?
My environment:
11.4.2-MariaDB
Win64
my.ini: autocommit=0 sql_mode=ORACLE
Tadas Balaišis
made changes -
2025-02-24 13:05
Field
Original Value
New Value
Description
I'm facing the following situation. There is periodic procedure calling by event (CREATE EVENT) that modifies record and commits. There are two additional sessions (one by HeidiSQL, one by mysql command line tool) that issue select on view based on the table involved. I noticed outdated values, returned by mysql session while another session return accurate new value of datetime column.
Then (in mysql session) I issue "flush tables" command. Then on next execution I get new value.
This upsets me. I was expecting to get the latest column value regardless "flush tables". Is that designed behavior? Are there some system settings that affect the logic? Should I issue "flush tables" every time before issuing select?
My environment:
11.4.2-MariaDB
Win64
my,ini: autocommit=0 sql_mode=ORACLE
I'm facing the following situation. There is periodic procedure calling by event (CREATE EVENT) that modifies record and commits. There are two additional sessions (one by HeidiSQL, one by mysql command line tool) that issue select on view based on the table involved. I noticed outdated values, returned by mysql session while another session return accurate new value of datetime column.
Then (in mysql session) I issue "flush tables" command. Then on next execution I get new value.
This upsets me. I was expecting to get the latest column value regardless "flush tables". Is that designed behavior? Are there some system settings that affect the logic? Should I issue "flush tables" every time before issuing select?
My environment:
11.4.2-MariaDB
Win64
my.ini: autocommit=0 sql_mode=ORACLE
Elena Stepanova
made changes -
2025-02-24 15:12
Issue Type
Task
[ 3
]
Bug
[ 1
]
Elena Stepanova
made changes -
2025-02-24 15:20
Fix Version/s
N/A
[ 14700
]
Resolution
Not a Bug
[ 6
]
Status
Open
[ 1
]
Closed
[ 6
]
{"report":{"fcp":779.9000000953674,"ttfb":203.90000009536743,"pageVisibility":"visible","entityId":132973,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"7c484746-1225-450e-859a-c3fcb5bc100a","navigationType":0,"readyForUser":845.6999998092651,"redirectCount":0,"resourceLoadedEnd":1441.9000000953674,"resourceLoadedStart":209.7999997138977,"resourceTiming":[{"duration":68.10000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":277.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":68.19999980926514,"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":210.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":278.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":111.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.2999997138977,"connectEnd":210.2999997138977,"connectStart":210.2999997138977,"domainLookupEnd":210.2999997138977,"domainLookupStart":210.2999997138977,"fetchStart":210.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":210.2999997138977,"responseEnd":321.5,"responseStart":321.5,"secureConnectionStart":210.2999997138977},{"duration":238.5,"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":210.5,"connectEnd":210.5,"connectStart":210.5,"domainLookupEnd":210.5,"domainLookupStart":210.5,"fetchStart":210.5,"redirectEnd":0,"redirectStart":0,"requestStart":210.5,"responseEnd":449,"responseStart":449,"secureConnectionStart":210.5},{"duration":242.7000002861023,"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":210.69999980926514,"connectEnd":210.69999980926514,"connectStart":210.69999980926514,"domainLookupEnd":210.69999980926514,"domainLookupStart":210.69999980926514,"fetchStart":210.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":210.69999980926514,"responseEnd":453.40000009536743,"responseStart":453.40000009536743,"secureConnectionStart":210.69999980926514},{"duration":242.89999961853027,"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":210.90000009536743,"connectEnd":210.90000009536743,"connectStart":210.90000009536743,"domainLookupEnd":210.90000009536743,"domainLookupStart":210.90000009536743,"fetchStart":210.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":210.90000009536743,"responseEnd":453.7999997138977,"responseStart":453.7999997138977,"secureConnectionStart":210.90000009536743},{"duration":244.59999990463257,"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":211.09999990463257,"connectEnd":211.09999990463257,"connectStart":211.09999990463257,"domainLookupEnd":211.09999990463257,"domainLookupStart":211.09999990463257,"fetchStart":211.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":211.09999990463257,"responseEnd":455.69999980926514,"responseStart":455.69999980926514,"secureConnectionStart":211.09999990463257},{"duration":254.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":211.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":465.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":246,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":211.5,"connectEnd":211.5,"connectStart":211.5,"domainLookupEnd":211.5,"domainLookupStart":211.5,"fetchStart":211.5,"redirectEnd":0,"redirectStart":0,"requestStart":211.5,"responseEnd":457.5,"responseStart":457.5,"secureConnectionStart":211.5},{"duration":254,"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":211.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":465.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":247.5,"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":211.90000009536743,"connectEnd":211.90000009536743,"connectStart":211.90000009536743,"domainLookupEnd":211.90000009536743,"domainLookupStart":211.90000009536743,"fetchStart":211.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":211.90000009536743,"responseEnd":459.40000009536743,"responseStart":459.40000009536743,"secureConnectionStart":211.90000009536743},{"duration":1226.9000000953674,"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":212.59999990463257,"connectEnd":212.59999990463257,"connectStart":212.59999990463257,"domainLookupEnd":212.59999990463257,"domainLookupStart":212.59999990463257,"fetchStart":212.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":212.59999990463257,"responseEnd":1439.5,"responseStart":1439.5,"secureConnectionStart":212.59999990463257},{"duration":1229.2000002861023,"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":212.69999980926514,"connectEnd":212.69999980926514,"connectStart":212.69999980926514,"domainLookupEnd":212.69999980926514,"domainLookupStart":212.69999980926514,"fetchStart":212.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":212.69999980926514,"responseEnd":1441.9000000953674,"responseStart":1441.9000000953674,"secureConnectionStart":212.69999980926514},{"duration":397.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":477.59999990463257,"connectEnd":477.59999990463257,"connectStart":477.59999990463257,"domainLookupEnd":477.59999990463257,"domainLookupStart":477.59999990463257,"fetchStart":477.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":477.59999990463257,"responseEnd":874.9000000953674,"responseStart":874.9000000953674,"secureConnectionStart":477.59999990463257},{"duration":689.3999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":770.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":770.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1460.2999997138977,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":46,"responseStart":204,"responseEnd":207,"domLoading":208,"domInteractive":1466,"domContentLoadedEventStart":1466,"domContentLoadedEventEnd":1505,"domComplete":2154,"loadEventStart":2154,"loadEventEnd":2155,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1447.2999997138977},{"name":"bigPipe.sidebar-id.end","time":1448.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1448.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1450},{"name":"activityTabFullyLoaded","time":1517.0999999046326}],"measures":[],"correlationId":"40d85dea0730b1","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}