I don't know why IGNORE is important in the update. It causes concerns in itself, as there is nothing to ignore, UPDATE is valid.
Run the test case with --mysqld=--binlog-alter-two-phase=ON --mysqld=--slave_parallel_threads=4 --mysqld=--binlog_row_image=MINIMAL
Somehow setting them dynamically doesn't cause the same effect, or maybe I'm not doing it correctly.
--source include/have_debug_sync.inc
--source include/have_binlog_format_row.inc
--source include/master-slave.inc
CREATETABLE t (id INT, a INT, PRIMARYKEY(id)) ENGINE=Aria;
INSERTINTO t VALUES (1,0);
--connection master1
--send set debug_sync= 'now wait_for go_dml'
--connection master
set debug_sync= 'alter_table_online_progress signal go_dml wait_for go_alter';
#12 0x00005591f16f1663 in handler::ha_update_row (this=0x7f1c7c016800, old_data=0x7f1c7c016388 "\375\001", new_data=0x7f1c7c016378 "\375\001") at /data/src/bb-11.2-oalter-debug/sql/handler.cc:7889
#13 0x00005591f1889b39 in Update_rows_log_event::do_exec_row (this=0x7f1c9003fb58, rgi=0x7f1c9003d950) at /data/src/bb-11.2-oalter-debug/sql/log_event_server.cc:8018
#14 0x00005591f18801e6 in Rows_log_event::do_apply_event (this=0x7f1c9003fb58, rgi=0x7f1c9003d950) at /data/src/bb-11.2-oalter-debug/sql/log_event_server.cc:5131
#15 0x00005591f186a36c in Log_event::apply_event (this=0x7f1c9003fb58, rgi=0x7f1c9003d950) at /data/src/bb-11.2-oalter-debug/sql/log_event.cc:3880
#16 0x00005591f11af347 in apply_event_and_update_pos_apply (ev=0x7f1c9003fb58, thd=0x7f1c7c000dc8, rgi=0x7f1c9003d950, reason=0) at /data/src/bb-11.2-oalter-debug/sql/slave.cc:3877
#17 0x00005591f11afbba in apply_event_and_update_pos_for_parallel (ev=0x7f1c9003fb58, thd=0x7f1c7c000dc8, rgi=0x7f1c9003d950) at /data/src/bb-11.2-oalter-debug/sql/slave.cc:4074
#18 0x00005591f15874d4 in rpt_handle_event (qev=0x7f1c9003fdf8, rpt=0x7f1c9000d420) at /data/src/bb-11.2-oalter-debug/sql/rpl_parallel.cc:61
#19 0x00005591f158b38b in handle_rpl_parallel_thread (arg=0x7f1c9000d420) at /data/src/bb-11.2-oalter-debug/sql/rpl_parallel.cc:1429
#20 0x00005591f19fb438 in pfs_spawn_thread (arg=0x7f1c9000e8c8) at /data/src/bb-11.2-oalter-debug/storage/perfschema/pfs.cc:2201
#21 0x00007f1d044a7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#22 0x00007f1d045285bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
looks ok, but change the commit comment, please.
something like
when a slave thread is applying replicated row events in parallel with the running online alter, we need all columns to be read from the table (for the online alter logged row event) not only those that were present in the pre-image for the replicated row event.
Sergei Golubchik
added a comment - looks ok, but change the commit comment, please.
something like
when a slave thread is applying replicated row events in parallel with the running online alter, we need all columns to be read from the table (for the online alter logged row event) not only those that were present in the pre-image for the replicated row event.
People
Nikita Malyavin
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
2Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":934.2000000476837,"ttfb":176,"pageVisibility":"visible","entityId":123907,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"87972313-fd1b-4c42-ac9b-fb0de316f4cd","navigationType":0,"readyForUser":1012.3999999761581,"redirectCount":0,"resourceLoadedEnd":690.3999999761581,"resourceLoadedStart":180.80000007152557,"resourceTiming":[{"duration":305.6999999284744,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":180.80000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":486.5,"responseStart":0,"secureConnectionStart":0},{"duration":305.7000000476837,"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":181.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":486.8000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":314.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":181.20000004768372,"connectEnd":181.20000004768372,"connectStart":181.20000004768372,"domainLookupEnd":181.20000004768372,"domainLookupStart":181.20000004768372,"fetchStart":181.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":181.20000004768372,"responseEnd":495.60000002384186,"responseStart":495.60000002384186,"secureConnectionStart":181.20000004768372},{"duration":375.10000002384186,"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":181.39999997615814,"connectEnd":181.39999997615814,"connectStart":181.39999997615814,"domainLookupEnd":181.39999997615814,"domainLookupStart":181.39999997615814,"fetchStart":181.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":181.39999997615814,"responseEnd":556.5,"responseStart":556.5,"secureConnectionStart":181.39999997615814},{"duration":378.7000000476837,"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":181.5,"connectEnd":181.5,"connectStart":181.5,"domainLookupEnd":181.5,"domainLookupStart":181.5,"fetchStart":181.5,"redirectEnd":0,"redirectStart":0,"requestStart":181.5,"responseEnd":560.2000000476837,"responseStart":560.2000000476837,"secureConnectionStart":181.5},{"duration":378.7999999523163,"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":181.80000007152557,"connectEnd":181.80000007152557,"connectStart":181.80000007152557,"domainLookupEnd":181.80000007152557,"domainLookupStart":181.80000007152557,"fetchStart":181.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":181.80000007152557,"responseEnd":560.6000000238419,"responseStart":560.6000000238419,"secureConnectionStart":181.80000007152557},{"duration":379,"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":181.89999997615814,"connectEnd":181.89999997615814,"connectStart":181.89999997615814,"domainLookupEnd":181.89999997615814,"domainLookupStart":181.89999997615814,"fetchStart":181.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":181.89999997615814,"responseEnd":560.8999999761581,"responseStart":560.8999999761581,"secureConnectionStart":181.89999997615814},{"duration":451.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":182.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":633.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":379,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":182.20000004768372,"connectEnd":182.20000004768372,"connectStart":182.20000004768372,"domainLookupEnd":182.20000004768372,"domainLookupStart":182.20000004768372,"fetchStart":182.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":182.20000004768372,"responseEnd":561.2000000476837,"responseStart":561.2000000476837,"secureConnectionStart":182.20000004768372},{"duration":451.10000002384186,"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":182.39999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":633.5,"responseStart":0,"secureConnectionStart":0},{"duration":379.8000000715256,"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":182.5,"connectEnd":182.5,"connectStart":182.5,"domainLookupEnd":182.5,"domainLookupStart":182.5,"fetchStart":182.5,"redirectEnd":0,"redirectStart":0,"requestStart":182.5,"responseEnd":562.3000000715256,"responseStart":562.3000000715256,"secureConnectionStart":182.5},{"duration":487.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":187.20000004768372,"connectEnd":187.20000004768372,"connectStart":187.20000004768372,"domainLookupEnd":187.20000004768372,"domainLookupStart":187.20000004768372,"fetchStart":187.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":187.20000004768372,"responseEnd":675,"responseStart":675,"secureConnectionStart":187.20000004768372},{"duration":502.10000002384186,"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":187.39999997615814,"connectEnd":187.39999997615814,"connectStart":187.39999997615814,"domainLookupEnd":187.39999997615814,"domainLookupStart":187.39999997615814,"fetchStart":187.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":187.39999997615814,"responseEnd":689.5,"responseStart":689.5,"secureConnectionStart":187.39999997615814},{"duration":30.699999928474426,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":644.7000000476837,"connectEnd":644.7000000476837,"connectStart":644.7000000476837,"domainLookupEnd":644.7000000476837,"domainLookupStart":644.7000000476837,"fetchStart":644.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":644.7000000476837,"responseEnd":675.3999999761581,"responseStart":675.3999999761581,"secureConnectionStart":644.7000000476837},{"duration":12.099999904632568,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":678.3000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":678.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":690.3999999761581,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":2,"responseStart":176,"responseEnd":182,"domLoading":179,"domInteractive":1105,"domContentLoadedEventStart":1105,"domContentLoadedEventEnd":1151,"domComplete":1506,"loadEventStart":1506,"loadEventEnd":1507,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1088.6000000238419},{"name":"bigPipe.sidebar-id.end","time":1089.3000000715256},{"name":"bigPipe.activity-panel-pipe-id.start","time":1089.3999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1090.2000000476837},{"name":"activityTabFullyLoaded","time":1167.3999999761581}],"measures":[],"correlationId":"58402ba423099a","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
looks ok, but change the commit comment, please.
something like