ooici/coi-services — pull request #183 by lukecampbell (2012-07-12 13:30:57+00:00)
Title: Luke: Adds error handling to ingestion workers

Science Ingestion Workers are supposed to be resilient processes. They do not maintain state per se but they have a datastore instance object which they use to persist metadata about the incoming granules. When the datastore is removed or altered while the worker is still alive couchdb will raise an issue with the datastore not existing so this exception handling provides a mechanism to be resilient to this case.

In the case of CEI integration testing, the datastore is wiped between tests which was causing issues for the workers which are persistent across all tests. This should address that issue.