Closed fredliporace closed 2 years ago
First occurrence at 2021-10-15T08:36:21.380-03:00
. No stack update event in the past months.
The es index and all its documents were dropped. I suspect a node failure was the cause. The index will have to be recreated and all the documents indexed again.
First of all, thank you so much for putting this STAC and keeping it running, @fredliporace.
Do we have any updates in this issue? The error still keeps showing...
hi @felippehsk , hope to have it fixed by the end of this month. I'll post updates here and on cbers-pds OSGEO list.
While I'm still working on a procedure to recover from ES cluster fails there is a temporary endpoint that contains the scenes ingested last week and will be updated with new scenes. I'll keep this online until the original API is reestablished with the full archive.
Service is back online
@fredliporace , thank you so much for working on this and putting the service back on! Cheers!
Noticed now that the same error is happening again at the live version. The stac index mappings seems to be one automatically created, although the auto creation should be disabled exactly for these kind of problems to be reported by DLQs messages as the index is corrupted.
The mapping for geometry
for example should be geo_shape
but is currently the default text
.
Although the software may be improved to detect this situation sooner and allow a proper index recovery from the backup, the reason this situation pops up now and then in the live service is its es cluster configuration - I'm using a single node t2.small.search
, which is clearly inadequate for a production service.
Unfortunately the Opensearch service is the main drive of cost in operating the live version and I don't have plans now to upgrade to a suitable configuration for production service. I'll then keep the live version limited to support testing, with only a subset of the AWS archive, which may be reset from time to time if such index corruption happens again. Organizations or individuals interested in running a full production service should be able to do so using new deployments.
Note that this only affects the STAC API search, the static STAC index in the live version reflects the complete AWS archive.
Service now covers all archive, thanks to AWS support.
Search endpoint is currently raising the following exception: