84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
运营要求修改某条记录的权重,但用户参与的时候,会对另外一个字段更新,如果用户和运营的操作是同时进行的话,会不会导致前者或者后者更新丢失 ?
ringa_lee
Let’s put it this way. When data is updated, a write lock is added. When another operation is to be written, it will enter waiting. until the write lock is released.
Updating different fields will not work, provided that each of your update statements only updates one field
No, make sure the where condition of update is correct
Let’s put it this way. When data is updated, a write lock is added. When another operation is to be written, it will enter waiting. until the write lock is released.
Updating different fields will not work, provided that each of your update statements only updates one field
No, make sure the where condition of update is correct