GothenburgBitFactory / GothenburgBitFactory/taskwarrior
[TW-1393] Database corrupted after running task if the disk is full
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 423
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
_Tobiasz Karoń on 2014-08-17T10:45:33Z says:_
I've run task to see my "next" list. It printed it fine.
I run it again to mark some task as done, but this time I got a strange message:
Taskwarrior no longer supports file format 1, originally used between 27 November 2006 and 31 December 2007. in /unfa/.task/pending.data at line 80
What happened? This is my theory: task tried to rewrite the pending file to update my tasks, but instead of rising an exception and halting the procedure, it wrote only a part of the file, because the disk was nearly full.
I think this behaviour is highly erroneous and causes severe data loss, where it can easily be avoided.
Contributor guide
Assessment
This issue has not been assessed yet.