2024-04-27 15:08:46 5 [Note] Slave I/O thread: connected to master 'repl_user@127.0.0.1:11313',replication starts at GTID position ''
2024-04-27 15:08:48 6 [ERROR] Slave SQL: Error executing row event: 'You can't combine write-locking of system tables with other tables or lock types', Gtid 0-1-8, Internal MariaDB error code: 1428
2024-04-27 15:08:48 6 [Warning] Slave: You can't combine write-locking of system tables with other tables or lock types Error_code: 1428
2024-04-27 15:08:48 6 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'binlog.000001' position 1633; GTID position '0-1-7'
Tested present in 10.5 (opt+dbg), 11.3 (opt), 11.4 (opt+dbg) and 11.5 (dbg); assumed to be in other versions also, though issue may be lightly sporadic.
CREATETABLE t2 (c DATE) ENGINE=MyISAM PARTITION BY LIST (YEARWEEK(c)) (PARTITION p VALUESIN (1,2));
CREATETABLE t3 (c INT) ENGINE=InnoDB;
CREATETRIGGER tr1 AFTERINSERTON t3 FOR EACH ROW INSERTINTO t2 VALUES (1);
XA START 'a';
--error ER_TRUNCATED_WRONG_VALUE
INSERTINTO t3 VALUES();
--sync_slave_with_master
DELETEFROM mysql.proc LIMIT 1;
SELECT SLEEP(5);
--source include/rpl_end.inc
Roel Van de Paar
added a comment - - edited MTR does not seem to reproduce the bug:
--source include/have_binlog_format_mixed.inc
--source include/master-slave.inc
--source include/have_innodb.inc
--source include/have_partition.inc
CREATE TEMPORARY TABLE t1 (c INT ) ENGINE=InnoDB;
CREATE TABLE t2 (c DATE ) ENGINE=MyISAM PARTITION BY LIST (YEARWEEK(c)) (PARTITION p VALUES IN (1,2));
CREATE TABLE t3 (c INT ) ENGINE=InnoDB;
CREATE TRIGGER tr1 AFTER INSERT ON t3 FOR EACH ROW INSERT INTO t2 VALUES (1);
XA START 'a' ;
--error ER_TRUNCATED_WRONG_VALUE
INSERT INTO t3 VALUES ();
--sync_slave_with_master
DELETE FROM mysql.proc LIMIT 1;
SELECT SLEEP(5);
--source include/rpl_end.inc
People
Andrei Elkin
Roel Van de Paar
Votes:
0Vote for this issue
Watchers:
2Start 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":925.6999998092651,"ttfb":244.59999990463257,"pageVisibility":"visible","entityId":128940,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c8b3c35f-b4ce-4590-aa4c-8f0929a2d919","navigationType":0,"readyForUser":1003.9000000953674,"redirectCount":0,"resourceLoadedEnd":620,"resourceLoadedStart":253.19999980926514,"resourceTiming":[{"duration":7.599999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":253.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":260.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":8.099999904632568,"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":253.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":253.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":261.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":123,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":253.7999997138977,"connectEnd":253.7999997138977,"connectStart":253.7999997138977,"domainLookupEnd":253.7999997138977,"domainLookupStart":253.7999997138977,"fetchStart":253.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":265.5,"responseEnd":376.7999997138977,"responseStart":303.5,"secureConnectionStart":253.7999997138977},{"duration":151.2000002861023,"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":254.2999997138977,"connectEnd":254.2999997138977,"connectStart":254.2999997138977,"domainLookupEnd":254.2999997138977,"domainLookupStart":254.2999997138977,"fetchStart":254.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":266.2999997138977,"responseEnd":405.5,"responseStart":313.7999997138977,"secureConnectionStart":254.2999997138977},{"duration":72.59999990463257,"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":254.40000009536743,"connectEnd":254.40000009536743,"connectStart":254.40000009536743,"domainLookupEnd":254.40000009536743,"domainLookupStart":254.40000009536743,"fetchStart":254.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":267.69999980926514,"responseEnd":327,"responseStart":326.40000009536743,"secureConnectionStart":254.40000009536743},{"duration":89.5,"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":254.69999980926514,"connectEnd":254.69999980926514,"connectStart":254.69999980926514,"domainLookupEnd":254.69999980926514,"domainLookupStart":254.69999980926514,"fetchStart":254.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":270.40000009536743,"responseEnd":344.19999980926514,"responseStart":343.69999980926514,"secureConnectionStart":254.69999980926514},{"duration":90,"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":254.7999997138977,"connectEnd":254.7999997138977,"connectStart":254.7999997138977,"domainLookupEnd":254.7999997138977,"domainLookupStart":254.7999997138977,"fetchStart":254.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":271.09999990463257,"responseEnd":344.7999997138977,"responseStart":344.2999997138977,"secureConnectionStart":254.7999997138977},{"duration":15.799999713897705,"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":255,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":270.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":88.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":255.19999980926514,"connectEnd":255.19999980926514,"connectStart":255.19999980926514,"domainLookupEnd":255.19999980926514,"domainLookupStart":255.19999980926514,"fetchStart":255.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":274,"responseEnd":343.59999990463257,"responseStart":342.90000009536743,"secureConnectionStart":255.19999980926514},{"duration":17.5,"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":255.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":255.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":272.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":51.59999990463257,"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":255.59999990463257,"connectEnd":287.90000009536743,"connectStart":287.90000009536743,"domainLookupEnd":287.90000009536743,"domainLookupStart":287.90000009536743,"fetchStart":255.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":288.19999980926514,"responseEnd":307.19999980926514,"responseStart":300,"secureConnectionStart":287.90000009536743},{"duration":349.6000003814697,"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":263.2999997138977,"connectEnd":263.2999997138977,"connectStart":263.2999997138977,"domainLookupEnd":263.2999997138977,"domainLookupStart":263.2999997138977,"fetchStart":263.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":339.7999997138977,"responseEnd":612.9000000953674,"responseStart":610.7999997138977,"secureConnectionStart":263.2999997138977},{"duration":351.80000019073486,"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":268.19999980926514,"connectEnd":268.19999980926514,"connectStart":268.19999980926514,"domainLookupEnd":268.19999980926514,"domainLookupStart":268.19999980926514,"fetchStart":268.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":381.19999980926514,"responseEnd":620,"responseStart":614,"secureConnectionStart":268.19999980926514},{"duration":288.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":594.1999998092651,"connectEnd":594.1999998092651,"connectStart":594.1999998092651,"domainLookupEnd":594.1999998092651,"domainLookupStart":594.1999998092651,"fetchStart":594.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":848.9000000953674,"responseEnd":883.0999999046326,"responseStart":882.2999997138977,"secureConnectionStart":594.1999998092651}],"fetchStart":0,"domainLookupStart":51,"domainLookupEnd":60,"connectStart":61,"connectEnd":81,"secureConnectionStart":70,"requestStart":82,"responseStart":245,"responseEnd":268,"domLoading":248,"domInteractive":1064,"domContentLoadedEventStart":1064,"domContentLoadedEventEnd":1104,"domComplete":1561,"loadEventStart":1561,"loadEventEnd":1561,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1041.7999997138977},{"name":"bigPipe.sidebar-id.end","time":1042.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1042.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1044.5},{"name":"activityTabFullyLoaded","time":1130.9000000953674}],"measures":[],"correlationId":"f2c31f129cd1c","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
MTR does not seem to reproduce the bug:
--source include/have_binlog_format_mixed.inc
--source include/master-slave.inc
--source include/have_innodb.inc
--source include/have_partition.inc
--error ER_TRUNCATED_WRONG_VALUE
--sync_slave_with_master