ACID guarantees in the face of SIGKILL
ACID guarantees in the face of SIGKILL
Posted Jan 19, 2023 14:10 UTC (Thu) by matthias (subscriber, #94967)In reply to: Changing Fedora's shutdown timeouts by dskoll
Parent article: Changing Fedora's shutdown timeouts
In the same way as journaling filesystem work. First write the transaction into a journal (usually called log for databases) and after the transaction is confirmed to be written, the actual database can be changed.
Usually you want to keep the log with all transactions even after they have been written to the database. Using the log, you can recreate the current database state from a backup. So your backup scheme is as follows: do a full backup once in a while and keep a backup of all log files since the last full backup.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
