Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
问与答
分布式事务中,如何预留资源
helloworld12
·
May 21, 2018
· 1042 views
This topic created in 2909 days ago, the information mentioned may be changed or developed.
譬如有个货物,库存 100,存在数据库中
把他减去 1,然后再插入一个单位的预留货物资源吗?后面提交后,再删去这条记录,或者回滚时候,删去这条记录,把 1 加回去?
还是有别的标记方式?
谢谢
No Comments Yet
删去
预留
货物
记录
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
975 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 22:20
·
PVG 06:20
·
LAX 15:20
·
JFK 18:20
♥ Do have faith in what you're doing.
❯