mysql 锁 https://zhuanlan.zhihu.com/p/144471126(这个更清楚些,未看完) https://www.cnblogs.com/paul8339/p/9936005.html