[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: |
|
||||||||
| 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. |