As you can see here, the REST API updates the task database before even attempting to store the report in ES. So if any exceptions get raised from the elasticsearch storage handler, it'll still get marked as Complete.
The REST API also has the same thread-related problem as the celery worker in #149.
As you can see here, the REST API updates the task database before even attempting to store the report in ES. So if any exceptions get raised from the elasticsearch storage handler, it'll still get marked as Complete.
The REST API also has the same thread-related problem as the celery worker in #149.