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

Occasional UniqueViolation in POST /batch/package #233

Open
jonathan-d-zhang opened this issue Mar 31, 2024 · 1 comment
Open

Occasional UniqueViolation in POST /batch/package #233

jonathan-d-zhang opened this issue Mar 31, 2024 · 1 comment
Assignees

Comments

@jonathan-d-zhang
Copy link
Contributor

As far as I can tell, the package deduplication is not correctly deduplicating. I don't know why.

@jonathan-d-zhang jonathan-d-zhang self-assigned this Mar 31, 2024
@jonathan-d-zhang
Copy link
Contributor Author

i ruled out concurrency issues, since we only run 1 loader, which hits the batch queue endpoint once per minute, and the endpoint doesn't take over a minute to run so it wouldn't overlap. there is also no interaction between other endpoints: even the strictest concurrency setting we use, SELECT .. FOR UPDATE, wouldn't stop us from reading the row that it locked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant