ioos/catalog-docker-base

Race Conditions for Container Startup

Closed this issue · 4 comments

If you startup all the containers simultaneously (like with compose) for the very first time with fresh volumes, a race-condition can occur which will corrupt the database.

Is this condition still present?

CKAN, PyCSW and the harvesters all try to write and initialize the database concurrently on startup. If any of them succeed before CKAN, the db gets corrupted.

Should be fixed by
ioos/catalog-docker-ckan-harvest#1
ioos/catalog-docker-pycsw#1

Please close for the time being; it looks like I can't close issues on this repo.