file=file@entry=0x55999d8645b8 "/test/codership/10.11_dbg/sql/wsrep_mysqld.cc", line=line@entry=3995, function=function@entry=0x55999d8653e0 "void wsrep_commit_empty(THD*, bool)") at assert.c:101
#8 0x000055999cfc4212 in wsrep_commit_empty (thd=thd@entry=0x14b788000f88, all=all@entry=true) at /test/codership/10.11_dbg/sql/wsrep_mysqld.cc:3995
#9 0x000055999ca10996 in mysql_execute_command (thd=thd@entry=0x14b788000f88, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/codership/10.11_dbg/sql/sql_parse.cc:6323
#10 0x000055999c9f71ef in mysql_parse (thd=0x14b788000f88, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x14b828c368e0) at /test/codership/10.11_dbg/sql/sql_parse.cc:8188
#11 0x000055999ce8d2a1 in Query_log_event::do_apply_event (this=0x14b7c802e988, rgi=0x14b7c802c790, query_arg=0x14b7c802eaef "COMMIT", q_len_arg=<optimized out>)
at /test/codership/10.11_dbg/sql/sql_class.h:1400
#12 0x000055999ce8dd64 in Query_log_event::do_apply_event (this=<optimized out>, rgi=<optimized out>) at /test/codership/10.11_dbg/sql/log_event_server.cc:1633
#13 0x000055999ce7e0c2 in Log_event::apply_event (this=this@entry=0x14b7c802e988, rgi=rgi@entry=0x14b7c802c790) at /test/codership/10.11_dbg/sql/log_event.cc:4221
#14 0x000055999c921279 in apply_event_and_update_pos_apply (ev=ev@entry=0x14b7c802e988, thd=thd@entry=0x14b788000f88, rgi=rgi@entry=0x14b7c802c790, reason=reason@entry=0)
at /test/codership/10.11_dbg/sql/slave.cc:3970
#15 0x000055999c92d47f in apply_event_and_update_pos_for_parallel (ev=ev@entry=0x14b7c802e988, thd=thd@entry=0x14b788000f88, rgi=rgi@entry=0x14b7c802c790) at /test/codership/10.11_dbg/sql/slave.cc:4177
#16 0x000055999cbf9fae in rpt_handle_event (qev=qev@entry=0x14b7c802eb78, rpt=rpt@entry=0x14b7c8010a48) at /test/codership/10.11_dbg/sql/rpl_parallel.cc:66
#17 0x000055999cbfefed in handle_rpl_parallel_thread (arg=<optimized out>) at /test/codership/10.11_dbg/sql/rpl_parallel.cc:1579
#18 0x000014b864607609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x000014b8641d8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
The offending statement is: delete from mysql.user ...
mysql.user is a view using mysql.global_priv, which is of Aria engine.
Tried such statement in galera cluster through a client connection, and turns out that the delete does not replicate even when wsrep_replicate_myisam==ON
So the problem happens only with mariadb async replication context
Seppo Jaakola
added a comment - The offending statement is: delete from mysql.user ...
mysql.user is a view using mysql.global_priv, which is of Aria engine.
Tried such statement in galera cluster through a client connection, and turns out that the delete does not replicate even when wsrep_replicate_myisam==ON
So the problem happens only with mariadb async replication context
People
Jan Lindström
Ramesh Sivaraman
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":2367.399999976158,"ttfb":1097.8999999761581,"pageVisibility":"visible","entityId":132302,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"be4743eb-31fb-432c-b8e4-315b16a0402c","navigationType":0,"readyForUser":2447.5,"redirectCount":0,"resourceLoadedEnd":2784.5999999046326,"resourceLoadedStart":1103.5,"resourceTiming":[{"duration":761.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":1103.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1103.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1865,"responseStart":0,"secureConnectionStart":0},{"duration":762,"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":1103.6999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1103.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1865.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":815,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":1103.8999999761581,"connectEnd":1103.8999999761581,"connectStart":1103.8999999761581,"domainLookupEnd":1103.8999999761581,"domainLookupStart":1103.8999999761581,"fetchStart":1103.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1103.8999999761581,"responseEnd":1918.8999999761581,"responseStart":1918.8999999761581,"secureConnectionStart":1103.8999999761581},{"duration":869,"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":1104,"connectEnd":1104,"connectStart":1104,"domainLookupEnd":1104,"domainLookupStart":1104,"fetchStart":1104,"redirectEnd":0,"redirectStart":0,"requestStart":1104,"responseEnd":1973,"responseStart":1973,"secureConnectionStart":1104},{"duration":872.2000000476837,"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":1104.2999999523163,"connectEnd":1104.2999999523163,"connectStart":1104.2999999523163,"domainLookupEnd":1104.2999999523163,"domainLookupStart":1104.2999999523163,"fetchStart":1104.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1104.2999999523163,"responseEnd":1976.5,"responseStart":1976.5,"secureConnectionStart":1104.2999999523163},{"duration":872.5,"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":1104.5,"connectEnd":1104.5,"connectStart":1104.5,"domainLookupEnd":1104.5,"domainLookupStart":1104.5,"fetchStart":1104.5,"redirectEnd":0,"redirectStart":0,"requestStart":1104.5,"responseEnd":1977,"responseStart":1977,"secureConnectionStart":1104.5},{"duration":872.6000000238419,"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":1104.6999999284744,"connectEnd":1104.6999999284744,"connectStart":1104.6999999284744,"domainLookupEnd":1104.6999999284744,"domainLookupStart":1104.6999999284744,"fetchStart":1104.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1104.6999999284744,"responseEnd":1977.2999999523163,"responseStart":1977.2999999523163,"secureConnectionStart":1104.6999999284744},{"duration":955.2999999523163,"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":1104.8999999761581,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1104.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2060.1999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":872.6999999284744,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1105,"connectEnd":1105,"connectStart":1105,"domainLookupEnd":1105,"domainLookupStart":1105,"fetchStart":1105,"redirectEnd":0,"redirectStart":0,"requestStart":1105,"responseEnd":1977.6999999284744,"responseStart":1977.6999999284744,"secureConnectionStart":1105},{"duration":955.3000000715256,"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":1105.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1105.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2060.399999976158,"responseStart":0,"secureConnectionStart":0},{"duration":873.1000000238419,"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":1105.2999999523163,"connectEnd":1105.2999999523163,"connectStart":1105.2999999523163,"domainLookupEnd":1105.2999999523163,"domainLookupStart":1105.2999999523163,"fetchStart":1105.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1105.2999999523163,"responseEnd":1978.3999999761581,"responseStart":1978.3999999761581,"secureConnectionStart":1105.2999999523163},{"duration":1568.7999999523163,"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":1106,"connectEnd":1106,"connectStart":1106,"domainLookupEnd":1106,"domainLookupStart":1106,"fetchStart":1106,"redirectEnd":0,"redirectStart":0,"requestStart":1106,"responseEnd":2674.7999999523163,"responseStart":2674.7999999523163,"secureConnectionStart":1106},{"duration":1678.5,"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":1106.0999999046326,"connectEnd":1106.0999999046326,"connectStart":1106.0999999046326,"domainLookupEnd":1106.0999999046326,"domainLookupStart":1106.0999999046326,"fetchStart":1106.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1106.0999999046326,"responseEnd":2784.5999999046326,"responseStart":2784.5999999046326,"secureConnectionStart":1106.0999999046326},{"duration":605.2999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2070.899999976158,"connectEnd":2070.899999976158,"connectStart":2070.899999976158,"domainLookupEnd":2070.899999976158,"domainLookupStart":2070.899999976158,"fetchStart":2070.899999976158,"redirectEnd":0,"redirectStart":0,"requestStart":2070.899999976158,"responseEnd":2676.1999999284744,"responseStart":2676.1999999284744,"secureConnectionStart":2070.899999976158},{"duration":438.7000000476837,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2361.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2361.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2800.2999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":927,"responseStart":1098,"responseEnd":1100,"domLoading":1101,"domInteractive":2802,"domContentLoadedEventStart":2802,"domContentLoadedEventEnd":2843,"domComplete":3141,"loadEventStart":3141,"loadEventEnd":3142,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2786.1999999284744},{"name":"bigPipe.sidebar-id.end","time":2787.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":2787.1999999284744},{"name":"bigPipe.activity-panel-pipe-id.end","time":2788},{"name":"activityTabFullyLoaded","time":2854.1999999284744}],"measures":[],"correlationId":"8c1b7b4ac89f3d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The offending statement is: delete from mysql.user ...
mysql.user is a view using mysql.global_priv, which is of Aria engine.
Tried such statement in galera cluster through a client connection, and turns out that the delete does not replicate even when wsrep_replicate_myisam==ON
So the problem happens only with mariadb async replication context