Closed bossie closed 2 months ago
The initial theory was that the creation of a new ES index caused a temporary hiccup and an additional check after 5 seconds was added to reduce the chance of false positives. This was not the case but I'm leaving it in because a max delay of 1.1s might be a bit optimistic and deleting a batch job is not a hot path.
What actually happened is that the new index had no mapping for the deleted
field and instead of interpreting said field and omitting the document from the search results, the EJR would just return the document.
A new index with a mapping for deleted
has since been created.
Integration tests passed so fixed.
openeo-geopyspark-integrationtests.tests.test_integration.test_batch_job_delete_job
started failing consistently:The job is actually soft-deleted (check EJR index) but with what looks like a considerable delay.
Adding an additional check after 5s did not help: