Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6
This bug was originally seen in the galera_nbo_sst_slave mtr test for 10.6, however it is relevant for all versions and can lead to intermittent SST crashes via rsync on very fast server restarts - when a new SST process (for example, after starting a new server) overlaps the old SST process from the previous (already terminated) server. This overlap can result in the new rsync being killed instead of the old rsync, or the pid file from the new rsync being killed, which then lead to problems.
For example:
2021-06-09 3:28:56 0 [Warning] WSREP: 0.0 (panda): State transfer to 1.0 (panda) failed: -11 (Resource temporarily unavailable)
2021-06-09 3:28:56 0 [ERROR] WSREP: /home/panda/galera-es-4.x/gcs/src/gcs_group.cpp:gcs_group_handle_join_msg():1205: Will never receive state. Need to abort.
2021-06-09 3:28:56 0 [Note] WSREP: gcomm: terminating thread
2021-06-09 3:28:56 0 [Note] WSREP: gcomm: joining thread
2021-06-09 3:28:56 0 [Note] WSREP: gcomm: closing backend
2021-06-09 3:28:56 2 [Note] WSREP: GCache DEBUG: RingBuffer::seqno_reset(): discarded 24 bytes
2021-06-09 3:28:56 2 [Note] WSREP: GCache DEBUG: RingBuffer::seqno_reset(): found 1/2 locked buffers
2021-06-09 3:28:57 0 [Note] WSREP: PC protocol downgrade 1 -> 0
2021-06-09 3:28:57 0 [Note] WSREP: view((empty))
2021-06-09 3:28:57 0 [Note] WSREP: gcomm: closed
2021-06-09 3:28:57 0 [Note] WSREP: /home/panda/maria-10.6/build/sql/mariadbd: Terminated.
2021-06-09 3:28:58 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-06-09 3:28:58 0 [Note] /home/panda/maria-10.6/build/sql/mariadbd (mysqld 10.6.1-1-MariaDB-debug-log) starting as process 410627 ...
.................
.................
2021-06-09 3:28:58 0 [Note] WSREP: save pc into disk
WSREP_SST: [ERROR] Parent mysqld process (PID: 410497) terminated unexpectedly. (20210609 03:28:58.800)
/home/panda/maria-10.6/build/scripts/wsrep_sst_rsync: line 681: kill: (-410497) - No such process
WSREP_SST: [INFO] Joiner cleanup: rsync PID=0, stunnel PID=410592 (20210609 03:28:58.803)
relates to
MDEV-24097
galera_3nodes suite tests in MTR sporadically fails: Failed to start mysqld or mysql_shutdown failed
Closed
{"report":{"fcp":1053.0999999046326,"ttfb":297.30000019073486,"pageVisibility":"visible","entityId":100346,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"2879eaff-52f3-49a5-992b-369d75d4bd5e","navigationType":0,"readyForUser":1127.3000001907349,"redirectCount":0,"resourceLoadedEnd":1135.5999999046326,"resourceLoadedStart":314.30000019073486,"resourceTiming":[{"duration":209.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":314.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":524,"responseStart":0,"secureConnectionStart":0},{"duration":210.5,"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":314.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":314.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":525,"responseStart":0,"secureConnectionStart":0},{"duration":267.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":314.69999980926514,"connectEnd":314.69999980926514,"connectStart":314.69999980926514,"domainLookupEnd":314.69999980926514,"domainLookupStart":314.69999980926514,"fetchStart":314.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":314.69999980926514,"responseEnd":582.5,"responseStart":582.5,"secureConnectionStart":314.69999980926514},{"duration":321.19999980926514,"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":314.90000009536743,"connectEnd":314.90000009536743,"connectStart":314.90000009536743,"domainLookupEnd":314.90000009536743,"domainLookupStart":314.90000009536743,"fetchStart":314.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":314.90000009536743,"responseEnd":636.0999999046326,"responseStart":636.0999999046326,"secureConnectionStart":314.90000009536743},{"duration":324.5,"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":315,"connectEnd":315,"connectStart":315,"domainLookupEnd":315,"domainLookupStart":315,"fetchStart":315,"redirectEnd":0,"redirectStart":0,"requestStart":315,"responseEnd":639.5,"responseStart":639.5,"secureConnectionStart":315},{"duration":325.1000003814697,"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":315.19999980926514,"connectEnd":315.19999980926514,"connectStart":315.19999980926514,"domainLookupEnd":315.19999980926514,"domainLookupStart":315.19999980926514,"fetchStart":315.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":315.19999980926514,"responseEnd":640.3000001907349,"responseStart":640.3000001907349,"secureConnectionStart":315.19999980926514},{"duration":325.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":315.30000019073486,"connectEnd":315.30000019073486,"connectStart":315.30000019073486,"domainLookupEnd":315.30000019073486,"domainLookupStart":315.30000019073486,"fetchStart":315.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":315.30000019073486,"responseEnd":640.8000001907349,"responseStart":640.8000001907349,"secureConnectionStart":315.30000019073486},{"duration":417.7999997138977,"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":315.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":733.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":325.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":315.90000009536743,"connectEnd":315.90000009536743,"connectStart":315.90000009536743,"domainLookupEnd":315.90000009536743,"domainLookupStart":315.90000009536743,"fetchStart":315.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":315.90000009536743,"responseEnd":641.5,"responseStart":641.5,"secureConnectionStart":315.90000009536743},{"duration":417.6000003814697,"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":316.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":733.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":325.90000009536743,"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":316.19999980926514,"connectEnd":316.19999980926514,"connectStart":316.19999980926514,"domainLookupEnd":316.19999980926514,"domainLookupStart":316.19999980926514,"fetchStart":316.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":316.19999980926514,"responseEnd":642.0999999046326,"responseStart":642.0999999046326,"secureConnectionStart":316.19999980926514},{"duration":769.1999998092651,"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":317.30000019073486,"connectEnd":317.30000019073486,"connectStart":317.30000019073486,"domainLookupEnd":317.30000019073486,"domainLookupStart":317.30000019073486,"fetchStart":317.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":317.30000019073486,"responseEnd":1086.5,"responseStart":1086.5,"secureConnectionStart":317.30000019073486},{"duration":818.1999998092651,"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":317.40000009536743,"connectEnd":317.40000009536743,"connectStart":317.40000009536743,"domainLookupEnd":317.40000009536743,"domainLookupStart":317.40000009536743,"fetchStart":317.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":317.40000009536743,"responseEnd":1135.5999999046326,"responseStart":1135.5,"secureConnectionStart":317.40000009536743},{"duration":341.2000002861023,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":745.6999998092651,"connectEnd":745.6999998092651,"connectStart":745.6999998092651,"domainLookupEnd":745.6999998092651,"domainLookupStart":745.6999998092651,"fetchStart":745.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":745.6999998092651,"responseEnd":1086.9000000953674,"responseStart":1086.9000000953674,"secureConnectionStart":745.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":152,"responseStart":298,"responseEnd":301,"domLoading":312,"domInteractive":1205,"domContentLoadedEventStart":1205,"domContentLoadedEventEnd":1250,"domComplete":1806,"loadEventStart":1807,"loadEventEnd":1808,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1186.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1187.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1187.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1189.5999999046326},{"name":"activityTabFullyLoaded","time":1259.5999999046326}],"measures":[],"correlationId":"a10432291dd6f0","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":88,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}