-
Notifications
You must be signed in to change notification settings - Fork 991
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
可靠事件队列缺乏隔离性,为什么会导致超售? #351
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在分布式事务TCC小节中提到可靠事件队列的缺点时有下面一句话:
"譬如在本章的场景事例中,缺乏隔离性会带来的一个显而易见的问题便是‘超售‘:完全有可能两个客户在短时间内都成功购买了同一件商品,而且他们各自购买的数量都不超过目前的库存,但他们购买的数量之和却超过了库存。"。
我对”可靠事件队列缺乏隔离性而导致超售“有些疑问,希望有人可以帮忙解答,我的想法如下:
The text was updated successfully, but these errors were encountered: