Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up orphaned Blob and Cosmosdb resources #171

Open
jjcollinge opened this issue Sep 17, 2018 · 0 comments
Open

Clean up orphaned Blob and Cosmosdb resources #171

jjcollinge opened this issue Sep 17, 2018 · 0 comments
Labels
dispatcher Issues relating to the dispatcher enhancement New feature or request

Comments

@jjcollinge
Copy link
Collaborator

Currently, if a job fails after committing any blob or document data - it will be rerun and the stale data will be left orphaned. We have a goroutine that cleans up completed Kubernetes jobs in the dispatcher (

if jobIsFinishedAndOlderThanAnHour(condition) {
) which we could extend to clean up any blob/document data associated with a failed job. This interface should probably be lifted above the specific provider to the dispatcher (
func Run(cfg *types.Configuration) {
) and executed by each individual provider.

@jjcollinge jjcollinge added enhancement New feature or request dispatcher Issues relating to the dispatcher labels Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dispatcher Issues relating to the dispatcher enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant