-
Notifications
You must be signed in to change notification settings - Fork 23
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
Flush request to database #566
Conversation
I wonder how parallel requests processing is causing the UniqueViolation. Although the pullspec is same, the primary key i.e. ID for the two parallel requests would be different, no? |
Bu there is unique on pullspec. Line 233 in 2b5052c
Imaging running two requests on two workers almost at the same time. This is my hypotheses, I will sum it up in RCA tomorrow. The question is if by adding this flush we do not flush some items to DB too early. |
cd2c78d
to
6a3b66c
Compare
… requests processing. [CLOUDDST-20061]
Flush request to database to prevent UniqueViolation due to parallel requests processing.
[CLOUDDST-20061]