Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

Chunk Corruption After Power Cut to Server

IAmSneak opened this issue ยท 5 comments

commented

I had my server, which runs c2me, get shut down last night because of a power outage. When I restarted the server today I noticed the logs were filled with [15:06:27] [C2ME serializer worker #3/ERROR]: Chunk file at [63, 36] is in the wrong location; relocating. (Expected [63, 36], got [62, 38]).

Going to that location in the world I noticed that the chunks around there were scrambled up. I attached some of the region files with the problematic chunks . This is after it is scrambled so im not sure how helpful it would be but they are attached anyways. Regions. I also had some that were going to be scrambled but werent loaded yet, so here is that file: region.

This was 1.17.1 fabric in the 0.2.0 alpha5. I also run carpet and the spawn chunks are off, however this hadnt caused issues for the month or two ive been using c2me. I also have repurposed structures 2.3.3. The config file (converted to txt) and logs are also attached in case that helps.

c2me.txt
2021-10-08-1.log.gz

commented

How is this a c2me issue? It sounds like c2me didnt cause it.

commented

How is this a c2me issue? It sounds like c2me didnt cause it.

The chunks wouldnt be corrupted and jumbled up if the power cut out with just vanilla. Its the only mod I have on the server that I think could've caused it. It also says its relocating chunks with C2ME serializer in the logs, so that seems like confirmation that c2me caused it to me.

commented

The chunks wouldnt be corrupted and jumbled up if the power cut out with just vanilla.

Thats blatantly false.

C2ME serializer in the logs, so that seems like confirmation that c2me caused it to me.

Its a c2me worker thread running the vanillia serializer. The error is coming from vanillia

commented

hm interesting, ive had it happen many times and its never happened on vanilla so i assumed it was a c2me issue. Would it be a thing that c2me would fix from vanilla or no?

commented

Can confirm this. You just need to force off the server, and then some of your chunks (.mca file) will be broken.
NOTE: please do this test in your test-environment.