Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.11
Test case. Attached configuration files from galera nodes and master server
GALERA_BASE=/home/ramesh/rpl/GAL_MD291024-mariadb-10.11.10-linux-x86_64-opt
RPL_BASE=/home/ramesh/rpl/MD291024-mariadb-10.11.10-linux-x86_64-opt
DATADIR=/home/ramesh/rpl
$RPL_BASE/bin/mariadb-admin -uroot --socket=/home/ramesh/rpl/data/socket.sock shutdown
$GALERA_BASE/bin/mariadb-admin -uroot --socket=$DATADIR/node2/mysql.sock shutdown
$GALERA_BASE/bin/mariadb-admin -uroot --socket=$DATADIR/node1/mysql.sock shutdown
rm -Rf $DATADIR/node* $DATADIR/data
$GALERA_BASE/scripts/mariadb-install-db --no-defaults --force --auth-root-authentication-method=normal --basedir=$GALERA_BASE --datadir=$DATADIR/node1
$GALERA_BASE/scripts/mariadb-install-db --no-defaults --force --auth-root-authentication-method=normal --basedir=$GALERA_BASE --datadir=$DATADIR/node2
$RPL_BASE/scripts/mariadb-install-db --no-defaults --force --auth-root-authentication-method=normal --basedir=$RPL_BASE --datadir=$DATADIR/data
$GALERA_BASE/bin/mariadbd --defaults-file=$DATADIR/n1.cnf --wsrep-new-cluster > $DATADIR/node1/node1.err 2>&1 &
sleep 2
$GALERA_BASE/bin/mariadb-admin -uroot -S$DATADIR/node1/mysql.sock ping
$GALERA_BASE/bin/mariadbd --defaults-file=$DATADIR/n2.cnf > $DATADIR/node2/node2.err 2>&1 &
sleep 5
$RPL_BASE/bin/mariadbd --defaults-file=$DATADIR/my.cnf > $DATADIR/data/mysql.err 2>&1 &
sleep 2
$RPL_BASE/bin/mariadb-admin -uroot -S/home/ramesh/rpl/data/socket.sock ping
$RPL_BASE/bin/mysql -uroot --socket=/home/ramesh/rpl/data/socket.sock
set sql_log_bin=0;
delete from mysql.user where user='';
flush privileges;
set sql_log_bin=1;
create user repl@'%' identified by 'repl';
grant all on *.* to repl@'%';
flush privileges;
\q
$GALERA_BASE/bin/mysql -uroot -S$DATADIR/node1/mysql.sock
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=4040, MASTER_USER='repl', MASTER_PASSWORD='repl', MASTER_USE_GTID=slave_pos; START SLAVE;
SHOW SLAVE STATUS \G
sysbench /usr/share/sysbench/oltp_insert.lua --mysql-db=test --mysql-user=root --db-driver=mysql --mysql-socket=/home/ramesh/rpl/data/socket.sock --threads=20 --tables=20 --table-size=100000 prepare
sysbench /usr/share/sysbench/oltp_write_only.lua --table-size=50000 --tables=16 --mysql-db=test --mysql-user=root --threads=16 --db-driver=mysql --mysql-socket=/home/ramesh/rpl/data/socket.sock --time=1000 run
Error info
2024-11-20 13:31:52 33 [Note] Master connection name: '' Master_info_file: 'master.info' Relay_info_file: 'relay-log.info'
2024-11-20 13:31:52 33 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MariaDB server acts as a replica and has its hostname changed. Please use '--log-basename=#' or '--relay-log=galapq-relay-bin' to avoid this problem.
2024-11-20 13:31:52 33 [Note] 'CHANGE MASTER TO executed'. Previous state master_host='', master_port='3306', master_log_file='', master_log_pos='4'. New state master_host='127.0.0.1', master_port='4040', master_log_file='', master_log_pos='4'.
2024-11-20 13:31:52 33 [Note] Previous Using_Gtid=Slave_Pos. New Using_Gtid=Slave_Pos
2024-11-20 13:31:52 34 [Note] Slave I/O thread: Start asynchronous replication to master 'repl@127.0.0.1:4040' in log '' at position 4
2024-11-20 13:31:52 34 [Note] Slave I/O thread: connected to master 'repl@127.0.0.1:4040',replication starts at GTID position ''
2024-11-20 13:31:52 35 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 4, relay log './galapq-relay-bin.000001' position: 4; GTID position ''
2024-11-20 13:33:46 37 [Warning] WSREP: Parallel slave worker failed at wsrep_before_command() hook
2024-11-20 13:33:46 37 [Warning] Slave: Connection was killed Error_code: 1927
2024-11-20 13:33:46 37 [Warning] Slave: Deadlock found when trying to get lock; try restarting transaction Error_code: 1213
2024-11-20 13:33:46 37 [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 779747145; GTID position '10-111-6438'
2024-11-20 13:33:46 47 [ERROR] Slave SQL: Commit failed due to failure of an earlier commit on which this one depends, Gtid 10-111-6440, Internal MariaDB error code: 1964
2024-11-20 13:33:46 47 [Warning] Slave: Commit failed due to failure of an earlier commit on which this one depends Error_code: 1964
2024-11-20 13:33:46 47 [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 779747145; GTID position '10-111-6438'
Transition
Time In Source Status
Execution Times
Open
Confirmed
12d 9h 22m
1
Confirmed
Closed
59s
1
{"report":{"fcp":1452.8999999761581,"ttfb":560.2000000476837,"pageVisibility":"visible","entityId":131690,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"03905b68-edd3-4028-869d-d26d849ff190","navigationType":0,"readyForUser":1545,"redirectCount":0,"resourceLoadedEnd":1336,"resourceLoadedStart":568.5,"resourceTiming":[{"duration":331.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":568.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":568.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":899.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":331.2000000476837,"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":568.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":568.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":900.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":422.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":569,"connectEnd":569,"connectStart":569,"domainLookupEnd":569,"domainLookupStart":569,"fetchStart":569,"redirectEnd":0,"redirectStart":0,"requestStart":902.7000000476837,"responseEnd":991.5,"responseStart":953.7999999523163,"secureConnectionStart":569},{"duration":618.8999999761581,"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":569.7000000476837,"connectEnd":903.7999999523163,"connectStart":903.7999999523163,"domainLookupEnd":903.7999999523163,"domainLookupStart":903.7999999523163,"fetchStart":569.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":906.7999999523163,"responseEnd":1188.6000000238419,"responseStart":925.1000000238419,"secureConnectionStart":903.7999999523163},{"duration":356.89999997615814,"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":570,"connectEnd":570,"connectStart":570,"domainLookupEnd":570,"domainLookupStart":570,"fetchStart":570,"redirectEnd":0,"redirectStart":0,"requestStart":907,"responseEnd":926.8999999761581,"responseStart":921.6000000238419,"secureConnectionStart":570},{"duration":353.1999999284744,"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":570.1000000238419,"connectEnd":570.1000000238419,"connectStart":570.1000000238419,"domainLookupEnd":570.1000000238419,"domainLookupStart":570.1000000238419,"fetchStart":570.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":907.2000000476837,"responseEnd":923.2999999523163,"responseStart":921,"secureConnectionStart":570.1000000238419},{"duration":361.7999999523163,"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":570.2000000476837,"connectEnd":570.2000000476837,"connectStart":570.2000000476837,"domainLookupEnd":570.2000000476837,"domainLookupStart":570.2000000476837,"fetchStart":570.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":907.3999999761581,"responseEnd":932,"responseStart":928.8999999761581,"secureConnectionStart":570.2000000476837},{"duration":335.8000000715256,"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":570.3999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":570.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":906.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":356.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":570.6000000238419,"connectEnd":570.6000000238419,"connectStart":570.6000000238419,"domainLookupEnd":570.6000000238419,"domainLookupStart":570.6000000238419,"fetchStart":570.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":908.3999999761581,"responseEnd":927.1000000238419,"responseStart":924.2000000476837,"secureConnectionStart":570.6000000238419},{"duration":336.09999990463257,"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":570.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":570.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":906.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":367.2000000476837,"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":571,"connectEnd":571,"connectStart":571,"domainLookupEnd":571,"domainLookupStart":571,"fetchStart":571,"redirectEnd":0,"redirectStart":0,"requestStart":911.2000000476837,"responseEnd":938.2000000476837,"responseStart":929.3999999761581,"secureConnectionStart":571},{"duration":623.3999999761581,"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":574.5,"connectEnd":574.5,"connectStart":574.5,"domainLookupEnd":574.5,"domainLookupStart":574.5,"fetchStart":574.5,"redirectEnd":0,"redirectStart":0,"requestStart":1132,"responseEnd":1197.8999999761581,"responseStart":1195,"secureConnectionStart":574.5},{"duration":761.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":574.6000000238419,"connectEnd":574.6000000238419,"connectStart":574.6000000238419,"domainLookupEnd":574.6000000238419,"domainLookupStart":574.6000000238419,"fetchStart":574.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1322.3999999761581,"responseEnd":1336,"responseStart":1335.2000000476837,"secureConnectionStart":574.6000000238419},{"duration":227,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1118.2999999523163,"connectEnd":1118.2999999523163,"connectStart":1118.2999999523163,"domainLookupEnd":1118.2999999523163,"domainLookupStart":1118.2999999523163,"fetchStart":1118.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1310.6000000238419,"responseEnd":1345.2999999523163,"responseStart":1344.3999999761581,"secureConnectionStart":1118.2999999523163},{"duration":244,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1408.2999999523163,"connectEnd":1408.2999999523163,"connectStart":1408.2999999523163,"domainLookupEnd":1408.2999999523163,"domainLookupStart":1408.2999999523163,"fetchStart":1408.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1618.2000000476837,"responseEnd":1652.2999999523163,"responseStart":1651.5,"secureConnectionStart":1408.2999999523163},{"duration":213.60000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1446.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1446.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1660.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":380,"responseStart":560,"responseEnd":573,"domLoading":563,"domInteractive":1664,"domContentLoadedEventStart":1664,"domContentLoadedEventEnd":1714,"domComplete":2113,"loadEventStart":2113,"loadEventEnd":2113,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1604.2000000476837},{"name":"bigPipe.sidebar-id.end","time":1605},{"name":"bigPipe.activity-panel-pipe-id.start","time":1605.1000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1606.1000000238419},{"name":"activityTabFullyLoaded","time":1733.8999999761581}],"measures":[],"correlationId":"95f637fbc0cfc6","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":16,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}