Home > database >  Under the high concurrency transaction problem, speaking, reading and writing?
Under the high concurrency transaction problem, speaking, reading and writing?

Time:09-19

A transaction, to a certain collection, to query whether there is comply with a certain conditions such as the state=1 document, if not, then insert a state=1 document,
Under this transaction in a multithreaded high concurrency, it is assumed that started without state=1 document, the final will not be two state=1 document?