Observed behaviour:
I run a personal minecraft server on my private computer. Once, power shut off for a few seconds resulting in the computer shutting down with no warning. After I restarted the computer and the minecraft server, I noticed that several chunks in the areas loaded by online players have been reset to their newly-generated state. This means that all player-built structures were erased. Entities (like item frames) seemed to be unaffected.
Expected behaviour:
The server should make use of an advanced saving strategy so that, in case of a spontaneous power shut down, the server can revert to an older save (a few seconds or minutes) instead of re-generating the unsaved/corrupted chunks.
Note:
I also noticed, that a similar corruption glitch occured when I tried to copy the world while the server is running (this was an experiment, and not done on a production system π).
Conclusion:
Chunks get corrupted when the server fails to close file I/O. There should be a system in place to prevent that.
Β
Thank you for your report!
We're tracking this issue in MC-115237, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki