Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug that causes saves to fail #19
I found a fun bug with the way that saves work. Whenever a save occurs, a lock gets set. If the save fails, the lock is never removed. Because if this, if there is ever any IO error during a save, no further saves can be performed. For me, this was a random quicksave that failed in the middle of the night last night. I only lost a day though. Glad I restarted the server now. :P
In addition to cleaning up the lock, this also makes the server attempt to save again if a save fails while shutting down.