trackie icon indicating copy to clipboard operation
trackie copied to clipboard

Handle I/O errors so that the data file is not wiped

Open VincentCordobes opened this issue 1 year ago • 1 comments

Today, as I was running out of disk space, trackie stop failed with the no space left error. But the data file was already truncated and the data is no more.

An idea would be to write the state to a different file first and, if it succeeds only, replace the data file.

VincentCordobes avatar Aug 22 '22 16:08 VincentCordobes

Sounds good! Maybe there is also some existing OS API for something like this?

Unfortunately, I don't know when I'll find time to implement this...

beatbrot avatar Aug 23 '22 07:08 beatbrot