You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
putReviewsByAsset can sometimes create duplicate reviews when invoked concurrently. A unique index will at least prevent insertion of duplicate reviews, but will throw an error. This is better than creating the duplicate, but still sub-optimal.
Possible approach to avoid error:
lock asset for review updates when handling putReviewsByAsset
Adding index will require an operation in the migration cleaning up any existing duplicate reviews before applying index.
The text was updated successfully, but these errors were encountered:
putReviewsByAsset can sometimes create duplicate reviews when invoked concurrently. A unique index will at least prevent insertion of duplicate reviews, but will throw an error. This is better than creating the duplicate, but still sub-optimal.
Possible approach to avoid error:
lock asset for review updates when handling putReviewsByAsset
Adding index will require an operation in the migration cleaning up any existing duplicate reviews before applying index.
The text was updated successfully, but these errors were encountered: