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

Tolgee throws 500 on coinstraint violations #2835

Open
JanCizmar opened this issue Jan 13, 2025 · 0 comments
Open

Tolgee throws 500 on coinstraint violations #2835

JanCizmar opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@JanCizmar
Copy link
Contributor

JanCizmar commented Jan 13, 2025

Describe the bug
When user executes API endpoints too fast, it can lead to constraint violation errors from the database level. We should check all the past errors and retry such operation before the transaction is started.

Maybe some kind of @RetriableTransaction annotation can be invented for this, so we don't have to handle it manually.

For Tolgee team

There is such issue logged in Sentry.

https://tolgee.sentry.io/issues/6215707742/?alert_rule_id=933933&alert_timestamp=1736758412402&alert_type=email&notification_uuid=6ec8f19a-c48a-47de-b570-7a43cdc1fd30&project=1853051&referrer=digest_email

@JanCizmar JanCizmar added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant