vellum icon indicating copy to clipboard operation
vellum copied to clipboard

Backup & render collision after stopping server

Open tomrhollis opened this issue 5 years ago • 2 comments

OS: Windows To reproduce:

  1. StopBeforeBackup = true
  2. BackupInterval = RenderInterval
  3. Let the time run out and it takes the server down
  4. 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.

tomrhollis avatar Jul 14 '20 17:07 tomrhollis

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.

clvrk avatar Jul 14 '20 18:07 clvrk

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.

tomrhollis avatar Oct 14 '20 19:10 tomrhollis