I think this used to work before kvx, but I am not 100% sure. In any case... we should write all new files to a tempfile first, and then rename. Otherwise we can end up with halfwritten file if the system is rebooted.
Current behaviour of the KeyValueStore, now imported from kvx, is to only use a tempfile if the target file already exists.
I think this used to work before kvx, but I am not 100% sure. In any case... we should write all new files to a tempfile first, and then rename. Otherwise we can end up with halfwritten file if the system is rebooted.
Current behaviour of the KeyValueStore, now imported from kvx, is to only use a tempfile if the target file already exists.