Refined Storage

Refined Storage

115M Downloads

Server Restart Clears Autocrafter Tables

Closed this issue · 8 comments

commented

Describe the bug

After a server restart, some of my auto crafters had been completely wiped clean of their patterns. Their names were also reset to default (diamond autocrafter). Here is some of what I could gather:

  1. I had multiple autocrafting jobs running at the time of the restart.

  2. From what I can tell, the autocrafters that had jobs running were the ones that got wiped. Only the ones that were actively in the middle of a job though. It looks like recipes in the job that were already complete/stored did not have their autocrafting tables affected.

  3. A player was actively loading the chunks of the network that was running the autocrafting job at the time of the restart. I've had the server restart when no players were on and there were no problems.

  4. The autocrafting jobs also disappeared from the autocrafting monitor. There were multiple long and complex jobs running at the time of restart.

I unfortunately do not have the server files/logs.

How can we reproduce this bug or crash?

  1. set up an autocrafting system and start multiple long jobs (might need jobs that require multiple autocrafters)
  2. While job is running, restart server
  3. Rejoin server

What Minecraft version is this happening on?

Minecraft 1.21.1

What NeoForge or Fabric version is this happening on?

NeoForge

What Refined Storage version is this happening on?

2.0.0

What modpack and modpack version, if any, are you using?

All the Mods 10, version 4.10

Relevant log output

commented

I will need the logs

commented

Was this in between a pack update?

commented

Did you try the reproduction steps on a minimal setup?

commented

No there was no pack update it was just an restart.
I will be trying to reproduce it later but I do not have a server setup as of now.

commented

I was able to successfully recreate it by just restarting the server while the job was going on with a single autocrafter. The table was cleared and it list it's name.
I was also able to find the following in the logs:

log.txt

commented

There were 4 instances of the "Skipping BlockEntity/Failed to Load" errors in the log which correlates with the 4 autocrafters that were wiped during the original restart.

commented

Update Extra Storage to the newest version

commented

Fixed in Extra Storage Version 5.0.7
I was running 5.0.6
gg.