Skip to content

Race condition in local mongo #5

@ilia-nikiforov-umn

Description

@ilia-nikiforov-umn

If you run multiple pipeline-run-pair utilities in parallel, there will be a race condition in the local mongo files that causes some results not to write. This is also relevant to #1, as we are having renewed discussion regarding publishing KIM tests and VCs as a standalone package. If that package will include a local mongo, this will come up again.

I think a basic solution would be to write multiprocessing versions of pipeline-run-* commands that lock (this would have to propagate through a few calls to get to every place db is updated in mongodb.py).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions