Race Conditions for Container Startup
Closed this issue · 4 comments
lukecampbell commented
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.
benjwadams commented
Is this condition still present?
lukecampbell commented
yes
lukecampbell commented
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.
benjwadams commented
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.