Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Implement basic orphan detection #73

Open
efoxepstein opened this issue Aug 4, 2021 · 0 comments
Open

Implement basic orphan detection #73

efoxepstein opened this issue Aug 4, 2021 · 0 comments

Comments

@efoxepstein
Copy link
Contributor

We need EDPs and MPs to periodically call /ExchangeStepAttempts.ListExchangeStepAttempts to look for orphaned ESAs.

One way to do this:

  1. Client writes a lock file somewhere locally when it starts working on an ESA (e.g. using the Storage interface to write to private storage).
  2. Client calls /ESA.ListESAs with a filter to exclude recently created things and checks for a lock file on each. If there isn't a lock file, it should just start executing the ESA or mark the attempt as failed. If there is a lock file, it should check the age of it -- we might want to alert on this.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant