[MDEV-9250] new server crashed Created: 2015-12-09 Updated: 2016-07-18 Resolved: 2016-07-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Events |
| Affects Version/s: | 10.0.12, 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.0.22, 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Zhoukai Lin | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream-fixed | ||
| Environment: |
redhat 6.5 |
||
| Attachments: |
|
| Description |
|
Server crashed at the starting time, just after is has been installed. error log:
|
| Comments |
| Comment by Daniel Black [ 2015-12-22 ] | |||||||||||||||||||||
|
is this really 10.0.12? or is this mean to be 10.0.21? I see you have semisync enabled. What is the rest of the configuration? What is the semisync slave version? | |||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-12-29 ] | |||||||||||||||||||||
|
danblack, it is really 10.0.12, you can see it in the log. | |||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-12-29 ] | |||||||||||||||||||||
|
linzhoukai, | |||||||||||||||||||||
| Comment by Zhoukai Lin [ 2016-03-31 ] | |||||||||||||||||||||
|
I have a lot of servers useing the same cnf file.All compiled from 10.0.12 code. Only one crashed after install. This server has installed several MariaDBs. But the crash one were using a new system user. | |||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-06-11 ] | |||||||||||||||||||||
|
This is (was) an upstream problem, bug When server receives SIGHUP on startup, it can crash. In the provided error log we see that the server did receive the SIGHUP and started printing the status (I don't know where the signal came from in that installation, but it's not important). The problem can be reproduced easily on non-debug builds of 10.0 before 10.0.22, by sending SIGHUP immediately after starting the server with event_scheduler=ON. From 10.0.22 the crash stopped happening due to this change:
Particularly, due to this change:
If the change is reverted on the current trees, the crash starts happening again. However, the upstream fix looks much more global: I'm not sure whether disabling only event_scheduler dump until it's fully initialized fixes everything, so before closing the issue I'd like somebody to have a look at the upstream fix and decide whether we need it. 5.5 is still affected, both upstream and MariaDB. Probably it isn't worth backporting the fix to MariaDB 5.5, just like Oracle decided not to backport theirs to MySQL 5.5. |