[MDEV-4550] MariaDB Galera init script reports failure when Galera is syncing up (SST) Created: 2013-05-20  Updated: 2020-07-30

Status: Open
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.29-galera
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Tomas Gustavsson Assignee: Seppo Jaakola
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Ubuntu 12.04, MariaDB-Galera



 Description   

If you have a database larger than trivial size (mine is about 20GB) the init scripts report failure during SST.

root@testb:/etc/mysql# /etc/init.d/mysql start

  • Starting MariaDB database server mysqld
    ...fail!

This is because the startup pauses when galera does state transfer, so the init script times out and says that MariaDB start failed.
In fact it works just perfect, it just takes a little longer than the scripts thinks it should.

Not sure if it it's possible to do anything sensible about this? I guess somehow the scripts would need to know that an SST is in progress and either wait (but you don't want the init script to wait for 10 minutes) or exit with a nicer message.


Generated at Thu Feb 08 06:57:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.