MDEV-36639innodb_snapshot_isolation=1 gives error for not comitted row changes
MDEV-36631Galera Replication Hangs Forever
MDEV-36591RHEL 8 (and compatible) + Ubuntu 20.04 cannot start systemd servce (EXIT_CAPABILTIES/218)
MDEV-36412Concerns compilation issue on community edition for x86_64 with X32 ABI
MDEV-36565Assertion `src != ((void *)0)' failed in my_casedn_8bit
MDEV-36245Long server_audit_file_path causes buffer overflow
MDEV-36519Q2 2025 release merge
MDEV-36554Assertion `is_wsrep() == wsrep_on(mysql_thd)' failed in void trx_t::commit_in_memory(const mtr_t*)
MDEV-36073our RPM repos no longer provide compat packages with symlinks
MDEV-36290ALTER TABLE with multi-master can cause data loss
MDEV-29796Auto-generated DELETE for MEMORY/HEAP table can break GTID-based replication
MDEV-35908Unexpected error, crash, MSAN errors, assertion failures upon CHECK
MDEV-36478spider basic_sql tests with view protocol fail with mismatching found_rows() output
MDEV-36477Spider tests with view protocol fail with "Failed to drop view: 0: "
MDEV-36476Spider tests hanging with --view-protocol
MDEV-36633spider/bugfix.mdev_33434 fails with --view-protocol
MDEV-36324The untested ha_spider::index_first_internal constructs broken queries
MDEV-36274Implement IDENTITY column
MDEV-36484Assertion `!param->got_error' failed in Table_triggers_list::change_table_name or Assertion `*str != ''' failed on RENAME TABLE
MDEV-35155Performance degradation and unstable observed on 10.6.19
MDEV-35464Read a value that should be deleted In RR
MDEV-34870Implement join order hints
MDEV-35334Incorrect page checksum at the start of an .ibd file
MDEV-21376mysqldump should support wildcards
MDEV-33675SIGSEGV in I_P_List<MDL_ticket, I_P_List_adapter<MDL_ticket, &MDL_ticket::next_in_context, &MDL_ticket::prev_in_context>, I_P_List_null_counter, I_P_List_no_push_back<MDL_ticket> >::remove + ASAN heap-use-after-free in Field::is_null
MDEV-33633Assertion `view->table != 0 && view->field_translation != 0' failed in bool check_view_insertability(THD*, TABLE_LIST*)
MDEV-25158SIGSEGV in hp_rec_key_cmp and Assertion `curr_op_type != INTERSECT_ALL' failed on SELECT ... UNION SELECT, ASAN heap-use-after-free in ha_heap::find_unique_row
MDEV-16808Server crash in in JOIN_CACHE_HASHED::put_record or Assertion `0' failed in Field_blob_compressed::new_key_field or Assertion `length > 0' failed in create_ref_for_key or SIGSEGV in store_key::copy, with join_cache_level>2
MDEV-20250Implement early partition pruning before statement start
MDEV-35915Implement Global temporary tables
MDEV-32067InnoDB linear read ahead had better be logical
MDEV-32854Make JSON_DEPTH_LIMIT configurable
MDEV-34319Associative arrays: DECLARE TYPE .. TABLE OF .. INDEX BY in stored routines
MDEV-16523Assertion `!level_and_file.second->being_compacted' failed in LevelCompactionBuilder::SetupInitialFiles
MDEV-18983Port rpl_semi_sync_master_wait_for_slave_count from MySQL
MDEV-36516galera_3nodes.galera_gtid_2_cluster test failed on 10.5
MDEV-36032Check when doing ALTER TABLE table_name sequence=1 that table can be a sequence
MDEV-35866mariadb-check does not return warning for incorrect sequence with engine InnoDB
MDEV-36357SEGV on the test spider/bg.basic_sql when run with --view-protocol
MDEV-35452Always failing spider tests on Debug Last-N builder with --view-protocol
MDEV-34712Implement SHA2 support for file_key_management.so plugin (TDE)
MDEV-36556MariaDB 10.11 -> 11.4 upgrade: "The change buffer is corrupted"
MDEV-30277Assertion failure in Diagnostics_area::set_error_status / Reprepare_observer::report_error
MDEV-21530json_extract STILL crashes in Item_func_json_extract::read_json
MDEV-33957Slave index corruption: InnoDB: Record in index was not found on update/rollback: TUPLE ... at: COMPACT RECORD
MDEV-36053CURSOR declarations in PACKAGE BODY
MDEV-36628galera_vote_during_ist test failed
MDEV-36617galera_var_ignore_apply_errors test: result content mismatch
MDEV-36627galera.MDEV-29142: certification position less than last commited
MDEV-36621galera.GCF-360 test: IST failure
When running under innodb_snapshot_isolation=1, InnoDB gives error for conflicts that are not yet committed.
The following example shows this issue:
Note that if one removes the last SELECT statement or replaces that with an 'UPDATE SET b=3 where a=2', one will not get an error for the last update. Instead the last update would hang, which is what is expected.
--source include/have_innodb.inc
|
|
connect con1,localhost,root,,;
|
set @@innodb_snapshot_isolation=1;
|
connection default;
|
set @@innodb_snapshot_isolation=1;
|
|
create table t1 (a int primary key auto_increment, b int) engine=innodb;
|
insert into t1 values (1,1),(2,2);
|
begin;
|
update t1 set b=3 where a=1;
|
connection con1;
|
begin;
|
select * from t1;
|
update t1 set b=4 where a=1;
|
produces
mysqltest: At line 15: query 'update t1 set b=4 where a=1' failed: ER_CHECKREAD (1020): Record has changed since last read in table 't1'
|
Note that connection default has not done a commit or rollback yet.
What I would expect is that the last update should hang until default has done a commit or rollback.
This issue was reported by a user started to get ER_CHECKREAD errors when upgrading to 11.6.2.
I think that changing default of innodb_snapshot_isolation is the wrong thing to do for MariaDB as this will break any application that uses incremental updates (very typical in data warehouse applications) to increase performance:
UPDATE warehouse set inventory=inventory-1 where item="pc";
innodb_snapshot_isolation is a good thing to have, but probably not for the current MariaDB user base.
There are no comments yet on this issue.
{"report":{"fcp":1808.7999992370605,"ttfb":822.7999992370605,"pageVisibility":"visible","entityId":133921,"key":"jira.project.issue.nav-detail","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e591ab92-6423-4426-912b-1aa2b4ed11da","navigationType":0,"readyForUser":2614.5999994277954,"redirectCount":0,"resourceLoadedEnd":2431,"resourceLoadedStart":828.3999996185303,"resourceTiming":[{"duration":413.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":828.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":828.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1241.5,"responseStart":0,"secureConnectionStart":0},{"duration":413.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":828.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":828.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1241.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":465.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":828.8999996185303,"connectEnd":828.8999996185303,"connectStart":828.8999996185303,"domainLookupEnd":828.8999996185303,"domainLookupStart":828.8999996185303,"fetchStart":828.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":828.8999996185303,"responseEnd":1294.5,"responseStart":1294.5,"secureConnectionStart":828.8999996185303},{"duration":633.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":829,"connectEnd":829,"connectStart":829,"domainLookupEnd":829,"domainLookupStart":829,"fetchStart":829,"redirectEnd":0,"redirectStart":0,"requestStart":829,"responseEnd":1462.3999996185303,"responseStart":1462.3999996185303,"secureConnectionStart":829},{"duration":637.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":829.1999998092651,"connectEnd":829.1999998092651,"connectStart":829.1999998092651,"domainLookupEnd":829.1999998092651,"domainLookupStart":829.1999998092651,"fetchStart":829.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":829.1999998092651,"responseEnd":1466.2999992370605,"responseStart":1466.1999998092651,"secureConnectionStart":829.1999998092651},{"duration":637.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":829.3999996185303,"connectEnd":829.3999996185303,"connectStart":829.3999996185303,"domainLookupEnd":829.3999996185303,"domainLookupStart":829.3999996185303,"fetchStart":829.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":829.3999996185303,"responseEnd":1467.1999998092651,"responseStart":1467.1999998092651,"secureConnectionStart":829.3999996185303},{"duration":638.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":829.5999994277954,"connectEnd":829.5999994277954,"connectStart":829.5999994277954,"domainLookupEnd":829.5999994277954,"domainLookupStart":829.5999994277954,"fetchStart":829.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":829.5999994277954,"responseEnd":1468.1999998092651,"responseStart":1468.1999998092651,"secureConnectionStart":829.5999994277954},{"duration":639.8999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":829.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":829.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1469.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":639.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":829.8999996185303,"connectEnd":829.8999996185303,"connectStart":829.8999996185303,"domainLookupEnd":829.8999996185303,"domainLookupStart":829.8999996185303,"fetchStart":829.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":829.8999996185303,"responseEnd":1469.2999992370605,"responseStart":1469.1999998092651,"secureConnectionStart":829.8999996185303},{"duration":786.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":946.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":946.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1732.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":588.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":946.6999998092651,"connectEnd":946.6999998092651,"connectStart":946.6999998092651,"domainLookupEnd":946.6999998092651,"domainLookupStart":946.6999998092651,"fetchStart":946.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":946.6999998092651,"responseEnd":1535.3999996185303,"responseStart":1535.3999996185303,"secureConnectionStart":946.6999998092651},{"duration":589.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":949.3999996185303,"connectEnd":949.3999996185303,"connectStart":949.3999996185303,"domainLookupEnd":949.3999996185303,"domainLookupStart":949.3999996185303,"fetchStart":949.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":949.3999996185303,"responseEnd":1539.0999994277954,"responseStart":1539.0999994277954,"secureConnectionStart":949.3999996185303},{"duration":1480.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":950.0999994277954,"connectEnd":950.0999994277954,"connectStart":950.0999994277954,"domainLookupEnd":950.0999994277954,"domainLookupStart":950.0999994277954,"fetchStart":950.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":950.0999994277954,"responseEnd":2431,"responseStart":2431,"secureConnectionStart":950.0999994277954},{"duration":826.3999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1445.1999998092651,"connectEnd":1445.1999998092651,"connectStart":1445.1999998092651,"domainLookupEnd":1445.1999998092651,"domainLookupStart":1445.1999998092651,"fetchStart":1445.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1445.1999998092651,"responseEnd":2271.5999994277954,"responseStart":2271.5999994277954,"secureConnectionStart":1445.1999998092651},{"duration":630.6000003814697,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1801.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1801.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2432,"responseStart":0,"secureConnectionStart":0},{"duration":589.9000005722046,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/orderbycomponent/latest/orderByOptions/primary","startTime":1886.5999994277954,"connectEnd":1886.5999994277954,"connectStart":1886.5999994277954,"domainLookupEnd":1886.5999994277954,"domainLookupStart":1886.5999994277954,"fetchStart":1886.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":2448.0999994277954,"responseEnd":2476.5,"responseStart":2475.699999809265,"secureConnectionStart":1886.5999994277954},{"duration":584.8999996185303,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/secure/AjaxIssueAction!default.jspa?issueKey=MDEV-36639&decorator=none&prefetch=false&shouldUpdateCurrentProject=false&loadFields=false&_=1744942658040","startTime":2001.8999996185303,"connectEnd":2001.8999996185303,"connectStart":2001.8999996185303,"domainLookupEnd":2001.8999996185303,"domainLookupStart":2001.8999996185303,"fetchStart":2001.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2451.0999994277954,"responseEnd":2586.7999992370605,"responseStart":2581.699999809265,"secureConnectionStart":2001.8999996185303}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":762,"responseStart":822,"responseEnd":950,"domLoading":826,"domInteractive":2449,"domContentLoadedEventStart":2449,"domContentLoadedEventEnd":2497,"domComplete":3118,"loadEventStart":3118,"loadEventEnd":3119,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2433},{"name":"bigPipe.sidebar-id.end","time":2433.7999992370605},{"name":"activityTabFullyLoaded","time":2607.2999992370605}],"measures":[],"correlationId":"8cc39a4536b64f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":164,"dbReadsTimeInMs":0,"dbConnsTimeInMs":7,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}