Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3.7, 10.5.2, 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
ubuntu 14.04.05
Description
When I update the OS datetime *backwards* while `mariadb` is running, it causes `mariadb` to hang when I command it's service to stop.
I've also noticed that this doesn't occur when I set the new OS datetime value to be grater than the current OS datetime, only backwards causes the hang.
—
Steps to reproduce:
|
sudo date --set="2018-10-04 20:00:00" |
|
sudo service mysql start
|
* Starting MariaDB database server mysqld [ OK ]
|
|
sudo service mysql stop
|
* Stopping MariaDB database server mysqld [ OK ]
|
|
sudo service mysql start
|
* Starting MariaDB database server mysqld [ OK ]
|
|
sudo date --set="2018-10-04 10:00:00" |
|
sudo service mysql stop
|
* Stopping MariaDB database server mysqld
|
|
> setting the date, starting the service, resetting the date -10 hours, stopping the service => hang
Attachments
Issue Links
- duplicates
-
MDEV-20078 When setting back the system time while mysqld is running, shutdown will hang
- Closed
- is duplicated by
-
MDEV-20598 Server slow to shutdown if system time goes backwards
- Closed
-
MDEV-22789 MariaDB fails to stop on OS shutdown
- Closed
- relates to
-
MDEV-16526 Overhaul the InnoDB page flushing
- Closed