[MDEV-15832] With innodb_fast_shutdown=3, skip the rollback of connected transactions Created: 2018-04-10  Updated: 2018-04-11  Resolved: 2018-04-11

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Fix Version/s: 10.3.6

Type: Task Priority: Minor
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: shutdown

Issue Links:
Relates
relates to MDEV-14705 systemd: EXTEND_TIMEOUT_USEC= to avoi... Closed

 Description   

Sometimes it would be useful to have a faster clean shutdown where the rollback of current transactions is skipped. These transactions would be rolled back on the background on subsequent server startup.

Let us implement a new mode innodb_fast_shutdown=3 for this. It should be slower than the crash-like (unclean) shutdown with innodb_fast_shutdown=2, because the buffer pool will not be written back to data files.


Generated at Thu Feb 08 08:24:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.