Note: The test case is for 10.3, because it was easy to make, but I suppose 10.2 should be also affected, if there are any error codes above 2000 which can be written to the binary log. ER_UNKNOWN_SEQUENCES==4088
Run with --mysqld=--slave-skip-errors=1051 or other non-empty value
--source include/master-slave.inc
create sequence a;
--error ER_UNKNOWN_SEQUENCES
drop sequence a, b;
--sync_slave_with_master
# Cleanup
--connection master
--source include/rpl_end.inc
10.3 016c35a7f2f4a288
mysqld: /data/src/10.3/include/my_bitmap.h:131: uint bitmap_is_set(const MY_BITMAP*, uint): Assertion `bit < (map)->n_bits' failed.
170903 1:51:49 [ERROR] mysqld got signal 6 ;
#7 0x00007f4e3492aee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x0000555642e93499 in bitmap_is_set (map=0x5556441639a0 <slave_error_mask>, bit=4088) at /data/src/10.3/include/my_bitmap.h:131
#9 0x0000555642eb51c3 in ignored_error_code (err_code=4088) at /data/src/10.3/sql/log_event.cc:441
#10 0x0000555642e9ca59 in Query_log_event::do_apply_event (this=0x7f4dcc01b400, rgi=0x7f4dcc000a90, query_arg=0x7f4dcc01b5ab "DROP SEQUENCE `a`,`b` /* generated by server */", q_len_arg=47) at /data/src/10.3/sql/log_event.cc:5082
#11 0x0000555642e9c5c3 in Query_log_event::do_apply_event (this=0x7f4dcc01b400, rgi=0x7f4dcc000a90) at /data/src/10.3/sql/log_event.cc:4968
#12 0x0000555642a04171 in Log_event::apply_event (this=0x7f4dcc01b400, rgi=0x7f4dcc000a90) at /data/src/10.3/sql/log_event.h:1473
#13 0x00005556429f8ab5 in apply_event_and_update_pos_apply (ev=0x7f4dcc01b400, thd=0x7f4dcc001550, rgi=0x7f4dcc000a90, reason=0) at /data/src/10.3/sql/slave.cc:3791
#14 0x00005556429f8f7f in apply_event_and_update_pos (ev=0x7f4dcc01b400, thd=0x7f4dcc001550, rgi=0x7f4dcc000a90) at /data/src/10.3/sql/slave.cc:3939
#15 0x00005556429f96eb in exec_relay_log_event (thd=0x7f4dcc001550, rli=0x555646f1b4a8, serial_rgi=0x7f4dcc000a90) at /data/src/10.3/sql/slave.cc:4226
#16 0x00005556429fcd28 in handle_slave_sql (arg=0x555646f197e0) at /data/src/10.3/sql/slave.cc:5373
#17 0x000055564307d1dc in pfs_spawn_thread (arg=0x7f4dd0040700) at /data/src/10.3/storage/perfschema/pfs.cc:1862
#18 0x00007f4e3686f494 in start_thread (arg=0x7f4e2c429700) at pthread_create.c:333
#19 0x00007f4e349e793f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No visible effect on a non-debug build.
Michael Widenius
made changes -
2017-12-23 12:56
Field
Original Value
New Value
Assignee
Andrei Elkin
[ elkin
]
Michael Widenius
[ monty
]
Michael Widenius
made changes -
2017-12-23 12:56
Status
Open
[ 1
]
In Progress
[ 3
]
Michael Widenius
made changes -
2017-12-23 12:58
Fix Version/s
10.2.12
[ 22810
]
Fix Version/s
10.2
[ 14601
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:45
Workflow
MariaDB v3
[ 82376
]
MariaDB v4
[ 152759
]
{"report":{"fcp":1816.7000002861023,"ttfb":533.7000002861023,"pageVisibility":"visible","entityId":62968,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7dc0c734-a61d-4462-9e8b-4a7d05a196c1","navigationType":0,"readyForUser":1943.5,"redirectCount":0,"resourceLoadedEnd":2468.7000002861023,"resourceLoadedStart":544.7000002861023,"resourceTiming":[{"duration":655.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":544.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":544.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1200.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":655.6000003814697,"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":545,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":545,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1200.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":672.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":545.1000003814697,"connectEnd":545.1000003814697,"connectStart":545.1000003814697,"domainLookupEnd":545.1000003814697,"domainLookupStart":545.1000003814697,"fetchStart":545.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":545.1000003814697,"responseEnd":1217.4000000953674,"responseStart":1217.4000000953674,"secureConnectionStart":545.1000003814697},{"duration":753.1999998092651,"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":545.3000001907349,"connectEnd":545.3000001907349,"connectStart":545.3000001907349,"domainLookupEnd":545.3000001907349,"domainLookupStart":545.3000001907349,"fetchStart":545.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":545.3000001907349,"responseEnd":1298.5,"responseStart":1298.5,"secureConnectionStart":545.3000001907349},{"duration":786.4000000953674,"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":545.5,"connectEnd":545.5,"connectStart":545.5,"domainLookupEnd":545.5,"domainLookupStart":545.5,"fetchStart":545.5,"redirectEnd":0,"redirectStart":0,"requestStart":545.5,"responseEnd":1331.9000000953674,"responseStart":1331.9000000953674,"secureConnectionStart":545.5},{"duration":788.1999998092651,"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":545.7000002861023,"connectEnd":545.7000002861023,"connectStart":545.7000002861023,"domainLookupEnd":545.7000002861023,"domainLookupStart":545.7000002861023,"fetchStart":545.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":545.7000002861023,"responseEnd":1333.9000000953674,"responseStart":1333.9000000953674,"secureConnectionStart":545.7000002861023},{"duration":788.5,"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":545.9000000953674,"connectEnd":545.9000000953674,"connectStart":545.9000000953674,"domainLookupEnd":545.9000000953674,"domainLookupStart":545.9000000953674,"fetchStart":545.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":545.9000000953674,"responseEnd":1334.4000000953674,"responseStart":1334.4000000953674,"secureConnectionStart":545.9000000953674},{"duration":883.5,"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":549.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":549.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1432.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":785.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":549.6000003814697,"connectEnd":549.6000003814697,"connectStart":549.6000003814697,"domainLookupEnd":549.6000003814697,"domainLookupStart":549.6000003814697,"fetchStart":549.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":549.6000003814697,"responseEnd":1335.5,"responseStart":1335.5,"secureConnectionStart":549.6000003814697},{"duration":883.1999998092651,"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":549.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":549.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1433,"responseStart":0,"secureConnectionStart":0},{"duration":786.7000002861023,"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":550,"connectEnd":550,"connectStart":550,"domainLookupEnd":550,"domainLookupStart":550,"fetchStart":550,"redirectEnd":0,"redirectStart":0,"requestStart":550,"responseEnd":1336.7000002861023,"responseStart":1336.7000002861023,"secureConnectionStart":550},{"duration":1387.4000000953674,"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":565.5,"connectEnd":565.5,"connectStart":565.5,"domainLookupEnd":565.5,"domainLookupStart":565.5,"fetchStart":565.5,"redirectEnd":0,"redirectStart":0,"requestStart":565.5,"responseEnd":1952.9000000953674,"responseStart":1952.9000000953674,"secureConnectionStart":565.5},{"duration":1895.5999999046326,"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":573.1000003814697,"connectEnd":573.1000003814697,"connectStart":573.1000003814697,"domainLookupEnd":573.1000003814697,"domainLookupStart":573.1000003814697,"fetchStart":573.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":573.1000003814697,"responseEnd":2468.7000002861023,"responseStart":2468.7000002861023,"secureConnectionStart":573.1000003814697},{"duration":506.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1448.9000000953674,"connectEnd":1448.9000000953674,"connectStart":1448.9000000953674,"domainLookupEnd":1448.9000000953674,"domainLookupStart":1448.9000000953674,"fetchStart":1448.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1448.9000000953674,"responseEnd":1955.8000001907349,"responseStart":1955.8000001907349,"secureConnectionStart":1448.9000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":368,"responseStart":534,"responseEnd":561,"domLoading":543,"domInteractive":2509,"domContentLoadedEventStart":2509,"domContentLoadedEventEnd":2566,"domComplete":3612,"loadEventStart":3612,"loadEventEnd":3612,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2471},{"name":"bigPipe.sidebar-id.end","time":2472.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.start","time":2472.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2474.2000002861023},{"name":"activityTabFullyLoaded","time":2587.800000190735}],"measures":[],"correlationId":"e533c3978d7ef3","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":13,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}