nasa / cumulus

Cumulus Framework + Cumulus API
Other
248 stars 103 forks source link

moved to postgres functionality in cleanup executions #3691

Open etcart opened 2 weeks ago

etcart commented 2 weeks ago

Summary: update cleanExecutions Lambda to correctly interact with the database and clean up executions. write tests that more thoroughly test the internal workings

Addresses CUMULUS-3385 Cumulus P3/V16+ is not correctly running cleanExecutions

Changes

PR Checklist

Jkovarik commented 2 weeks ago

@etcart I haven't pulled this for a formal review - this looks to be handling the RDS portion of the fix, is the ES component of the solution intended as another PR?

etcart commented 2 weeks ago

I had misunderstood and thought that this was meant to be independent of that

etcart commented 2 weeks ago

ok, now with ES and Postgres both. I haven't solved the problem of "too many executions" since that's a separate ticket, but I can't if we'd prefer to do it here