Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
N/A
Scenario is a part of the undo upgrade tests (MDEV-13269 ).
start an old server with --innodb-change-buffering=none , otherwise defaults;
create an InnoDB table, run some DML;
SIGKILL server;
restart the old server with --innodb-change-buffering=none --innodb-force-recovery=3 ;
shut down the server properly;
start the new server on the same datadir with --innodb-read-only ;
shut down the server
=> observe the failure on shutdown
Reproducible on bb-10.3-monty 6baa5e56f1, with current 10.2 4bca34d8a4d6 and with 10.3.0 as old servers; I didn't try other versions.
The data directory from the old server (10.2 4bca34d8a4), pre-created as described, is attached. To reproduce, start the new server with --innodb-read-only on it.
bb-10.3-monty 6baa5e56f1
2017-08-09 1:06:42 0 [Note] InnoDB: Starting shutdown...
2017-08-09 01:06:42 0x7f2bc00a4700 InnoDB: Assertion failure in file /data/src/bb-10.3-monty/storage/innobase/log/log0lo
g.cc line 2114
InnoDB: Failing assertion: lsn == log_sys->lsn || srv_force_recovery == SRV_FORCE_NO_LOG_REDO
#6 0x00005594799e8ca1 in ut_dbg_assertion_failed (expr=0x559479eb6618 "lsn == log_sys->lsn || srv_force_recovery == SRV_FORCE_NO_LOG_REDO", file=0x559479eb5878 "/data/src/bb-10.3-monty/storage/innobase/log/log0log.cc", line=2114) at /data/src/bb-10.3-monty/storage/innobase/ut/ut0dbg.cc:60
#7 0x00005594798639a1 in logs_empty_and_mark_files_at_shutdown () at /data/src/bb-10.3-monty/storage/innobase/log/log0log.cc:2113
#8 0x000055947998ed98 in innodb_shutdown () at /data/src/bb-10.3-monty/storage/innobase/srv/srv0start.cc:2786
#9 0x00005594797c836c in innobase_end () at /data/src/bb-10.3-monty/storage/innobase/handler/ha_innodb.cc:4347
#10 0x00005594794b8fd1 in ha_finalize_handlerton (plugin=0x55947b764768) at /data/src/bb-10.3-monty/sql/handler.cc:452
#11 0x00005594792227ac in plugin_deinitialize (plugin=0x55947b764768, ref_check=true) at /data/src/bb-10.3-monty/sql/sql_plugin.cc:1242
#12 0x0000559479222c32 in reap_plugins () at /data/src/bb-10.3-monty/sql/sql_plugin.cc:1319
#13 0x0000559479224ce0 in plugin_shutdown () at /data/src/bb-10.3-monty/sql/sql_plugin.cc:1986
#14 0x000055947911dbed in clean_up (print_message=true) at /data/src/bb-10.3-monty/sql/mysqld.cc:2206
#15 0x000055947911d7be in unireg_end () at /data/src/bb-10.3-monty/sql/mysqld.cc:2081
#16 0x000055947911d6bb in kill_server (sig_ptr=0x0) at /data/src/bb-10.3-monty/sql/mysqld.cc:2008
#17 0x000055947911d6fd in kill_server_thread (arg=0x7f2bc0181e50) at /data/src/bb-10.3-monty/sql/mysqld.cc:2031
#18 0x00007f2bd781c494 in start_thread (arg=0x7f2bc00a4700) at pthread_create.c:333
#19 0x00007f2bd599493f in clone () from /lib/x86_64-linux-gnu/libc.so.6
Transition
Time In Source Status
Execution Times
Open
Closed
1d 10h 38m
1
{"report":{"fcp":2176.899999856949,"ttfb":526.5999999046326,"pageVisibility":"visible","entityId":62545,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"fae2249e-15e8-4e2d-b3c8-e00bfe44ecfa","navigationType":0,"readyForUser":2303.7999999523163,"redirectCount":0,"resourceLoadedEnd":1856.0999999046326,"resourceLoadedStart":535.2999999523163,"resourceTiming":[{"duration":347.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":535.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":535.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":882.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":353.90000009536743,"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":535.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":535.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":889.5,"responseStart":0,"secureConnectionStart":0},{"duration":1049.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":535.8999998569489,"connectEnd":535.8999998569489,"connectStart":535.8999998569489,"domainLookupEnd":535.8999998569489,"domainLookupStart":535.8999998569489,"fetchStart":535.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":919,"responseEnd":1585.2999999523163,"responseStart":965.2999999523163,"secureConnectionStart":535.8999998569489},{"duration":1297.7999999523163,"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":536,"connectEnd":536,"connectStart":536,"domainLookupEnd":536,"domainLookupStart":536,"fetchStart":536,"redirectEnd":0,"redirectStart":0,"requestStart":919.5,"responseEnd":1833.7999999523163,"responseStart":977.0999999046326,"secureConnectionStart":536},{"duration":455.40000009536743,"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":536.1999998092651,"connectEnd":536.1999998092651,"connectStart":536.1999998092651,"domainLookupEnd":536.1999998092651,"domainLookupStart":536.1999998092651,"fetchStart":536.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":920.2999999523163,"responseEnd":991.5999999046326,"responseStart":986.3999998569489,"secureConnectionStart":536.1999998092651},{"duration":454.39999985694885,"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":536.2999999523163,"connectEnd":536.2999999523163,"connectStart":536.2999999523163,"domainLookupEnd":536.2999999523163,"domainLookupStart":536.2999999523163,"fetchStart":536.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":919.7999999523163,"responseEnd":990.6999998092651,"responseStart":979.0999999046326,"secureConnectionStart":536.2999999523163},{"duration":464.2999999523163,"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":536.5,"connectEnd":536.5,"connectStart":536.5,"domainLookupEnd":536.5,"domainLookupStart":536.5,"fetchStart":536.5,"redirectEnd":0,"redirectStart":0,"requestStart":920.5999999046326,"responseEnd":1000.7999999523163,"responseStart":991.8999998569489,"secureConnectionStart":536.5},{"duration":354.60000014305115,"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":536.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":536.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":891.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":454.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":537,"connectEnd":537,"connectStart":537,"domainLookupEnd":537,"domainLookupStart":537,"fetchStart":537,"redirectEnd":0,"redirectStart":0,"requestStart":920.8999998569489,"responseEnd":991.7999999523163,"responseStart":988.5,"secureConnectionStart":537},{"duration":356,"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":537.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":537.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":893.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":497.7000000476837,"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":537.1999998092651,"connectEnd":537.1999998092651,"connectStart":537.1999998092651,"domainLookupEnd":537.1999998092651,"domainLookupStart":537.1999998092651,"fetchStart":537.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":921.2999999523163,"responseEnd":1034.8999998569489,"responseStart":992.6999998092651,"secureConnectionStart":537.1999998092651},{"duration":1311.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":543.1999998092651,"connectEnd":543.1999998092651,"connectStart":543.1999998092651,"domainLookupEnd":543.1999998092651,"domainLookupStart":543.1999998092651,"fetchStart":543.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1125.8999998569489,"responseEnd":1854.5999999046326,"responseStart":1845.5,"secureConnectionStart":543.1999998092651},{"duration":1312.7999999523163,"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":543.2999999523163,"connectEnd":543.2999999523163,"connectStart":543.2999999523163,"domainLookupEnd":543.2999999523163,"domainLookupStart":543.2999999523163,"fetchStart":543.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1245.0999999046326,"responseEnd":1856.0999999046326,"responseStart":1849.7999999523163,"secureConnectionStart":543.2999999523163},{"duration":238.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1760.5,"connectEnd":1760.5,"connectStart":1760.5,"domainLookupEnd":1760.5,"domainLookupStart":1760.5,"fetchStart":1760.5,"redirectEnd":0,"redirectStart":0,"requestStart":1963.0999999046326,"responseEnd":1999,"responseStart":1998.0999999046326,"secureConnectionStart":1760.5},{"duration":239.60000014305115,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":2108.699999809265,"connectEnd":2108.699999809265,"connectStart":2108.699999809265,"domainLookupEnd":2108.699999809265,"domainLookupStart":2108.699999809265,"fetchStart":2108.699999809265,"redirectEnd":0,"redirectStart":0,"requestStart":2298.0999999046326,"responseEnd":2348.2999999523163,"responseStart":2347.699999809265,"secureConnectionStart":2108.699999809265},{"duration":251.60000014305115,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2158.699999809265,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2158.699999809265,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2410.2999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":359,"responseStart":526,"responseEnd":536,"domLoading":533,"domInteractive":2480,"domContentLoadedEventStart":2480,"domContentLoadedEventEnd":2546,"domComplete":2637,"loadEventStart":2638,"loadEventEnd":2638,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2417.199999809265},{"name":"bigPipe.sidebar-id.end","time":2418.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":2418.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":2419.2999999523163},{"name":"activityTabFullyLoaded","time":2562.0999999046326}],"measures":[],"correlationId":"c706110eda1f35","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}