Make writing persistence.conf.bak more robust
Originally created by @intrigeri on #16568 (Redmine)
… as suggested on #16461 (comment 12566):
- I’ve checked and indeed, it would make sense to
syncthat file after copying.
chattrpart is not needed as long as 1. t-p-s
sync’s the file; 2. t-p-s is the only component that modifies that file (which is the case currently). But I guess it wouldn’t hurt and who knows, something else might start modifying that file at some point. Let’s do it.
Feature Branch: t-p-s:bugfix/16568-more-robust-backup, bugfix/16568-more-robust-backup
Parent Task: #10976 (closed)
- Related to #14544 (closed)
- Related to #16461 (closed)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information