vellum
vellum copied to clipboard
Backup & render collision after stopping server
OS: Windows To reproduce:
- StopBeforeBackup = true
- BackupInterval = RenderInterval
- Let the time run out and it takes the server down
- It will show two lines of "[ VELLUM ] -> Clearing local world backup directory", and possibly get stuck there
It seems to be a 50/50 coin flip (based on a very small data set) whether this problem will happen, maybe related to which process makes it there first. Sometimes it will stay there forever, and sometimes it will move on to the expected behavior of creating the full world backup, restarting the server, and running the render.
Thanks again for reporting 🙂! I will investigate- & implement a way of preventing this! Normally vellum won't (and shouldn't) start a render task if a backup task is already running (and vice-versa), so I will see what's up with that.
I haven't seen this happen in a long time. Might be fixed in 1.3. Might be OK to close this, unless it should stay as a reminder for something you're working on
Only slightly related, I'm testing a fix for the other issue of the backup timer acting strange sometimes and will have a PR for that this weekend if the tests go well.