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

Prevent multiple reconciliations for a given dataset id from running at the same time #217

Open
jordan396-tw opened this issue Jun 8, 2022 · 0 comments
Labels
enhancement New feature or request size:M medium items

Comments

@jordan396-tw
Copy link
Contributor

Context / Goal
Currently, the system allows for multiple reconciliations for a given dataset id to run at the same time. By allowing only one reconciliation for each dataset to run at a time, we mitigate potential issues such as unintended repeat triggering of reconciliation runs.

Expected Outcome
Suggestions:

  • We could track in-memory state somewhere (RecRunService probably).
  • When a duplicate rec run is requested, we could respond with 409 CONFLICT or 429 TOO MANY REQUESTS or something like that.

Additional context / implementation notes

@jordan396-tw jordan396-tw added the enhancement New feature or request label Jun 8, 2022
@jordan396-tw jordan396-tw self-assigned this Jun 8, 2022
@jordan396-tw jordan396-tw added the size:M medium items label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:M medium items
Projects
None yet
Development

No branches or pull requests

1 participant