Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The second step failed almost immediately, with an error telling me that a replayed log entry was recording data belonging to a machine which didn't exist. This provoked some head-scratching until I realized that this was introduced by some code I wrote in 2014: Occasionally Tarsnap users need to move a machine between accounts, and I handle this storing a new "machine registration" log entry and deleting the previous one

Recommend writing a TLA+ model to catch stuff like this



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: