Amulet-Map-Editor icon indicating copy to clipboard operation
Amulet-Map-Editor copied to clipboard

[Bug Report] Thread and Process safety - Chunk caching

Open gentlegiantJGC opened this issue 2 years ago • 1 comments

Bug Report

The chunk caching system is not process safe and needs improvements to handle multiple processes.

Current Behaviour:

Currently we have a single cache database for data which would be shared if multiple processes were spawned. Since the leveldb database we are using is not thread safe it will cause issues if it is opened from multiple places.

Expected behavior:

We should be able to spawn multiple processes and have them all work independently without any issues.

gentlegiantJGC avatar Mar 29 '22 14:03 gentlegiantJGC

I am going to migrate https://github.com/Amulet-Team/Amulet-Core/issues/154 to here because the core bug tracker is not viewed much.

gentlegiantJGC avatar Mar 29 '22 14:03 gentlegiantJGC