21

事务与锁完整版 - - SegmentFault 思否

 4 years ago
source link: https://segmentfault.com/a/1190000020888290
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
初学的时候,感觉事务的四大特性就那么回事,不就是一堆事要么完成,要么全部失败吗。还有经常说的脏读,幻读,不可重复读根本无法理解,就是那个存款取款的例子,我修改了数据,对方看到我修改的数据,这不很正常吗。现在看来,当时根本就不知道并发是什么鬼,更何谈并发事物了。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK