Skip to content

Per process shared memory

Karsten Prehn requested to merge fix/per-process-shared-mem into main

Currently import data is stored in shared memory with the keys being the hash value of the respective file paths. This leads to the problem, that when running more than one Discretizer (or executing more than one Discretizer docker container) at the same time, whichever Discretizer process finishes first closes the shared memory causing the remaining Discretizer to lose access to it.

This MR changes the hashed key to include the processed quadkeys, so each shared memory instance is unique to the file path and the processed quadkeys.

\approve @ds @laurens

Edited by Karsten Prehn

Merge request reports