Skip to content
RED SAG Skills
hard20 pts · first answer countsweb-securitybusiness-logic

One-time coupon used five times

Your code checks "if coupon not used: apply discount; mark used". Twenty parallel requests got the discount five times. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions