Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Use
sentry-cli proguard upload to upload the same proguard mapping twice, in parallel or in quick succession, but with different UUIDs set.
What is important here for reproducing the issue is that the second upload occurs while the initial upload is still assembling.
Expected Result
After the upload, both uploads (with both UUIDs) should be visible in Sentry.
Actual Result
The race condition can result in the case where only one of the UUIDs shows up in Sentry, the other one is forgotten.
The race condition is a bug in the implementation for #106947. That bug fix does not handle the case where the initial upload is still assembling, only the case where the same mapping is uploaded after the initial mapping already exists.
Product Area
Other
Link
No response
DSN
No response
Version
No response
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
sentry-cli proguard uploadto upload the same proguard mapping twice, in parallel or in quick succession, but with different UUIDs set.What is important here for reproducing the issue is that the second upload occurs while the initial upload is still assembling.
Expected Result
After the upload, both uploads (with both UUIDs) should be visible in Sentry.
Actual Result
The race condition can result in the case where only one of the UUIDs shows up in Sentry, the other one is forgotten.
The race condition is a bug in the implementation for #106947. That bug fix does not handle the case where the initial upload is still assembling, only the case where the same mapping is uploaded after the initial mapping already exists.
Product Area
Other
Link
No response
DSN
No response
Version
No response