Home > database >  The UPDATE about MONGODB4.0 concurrency issues
The UPDATE about MONGODB4.0 concurrency issues

Time:09-21

HI, everyone a great god, and I think excuse me, a single document about MONGO4.0 UPDATE, if there are two programs in parallel to modify a document, will there be a conflict? For this kind of conflict have what good way?

CodePudding user response:

The problems in any database,

You add a where clause in the update condition UpdateTime fields,

Of course, every time you update to update this field,
  • Related