Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道默认隔离级别是 READ_COMMITTED 并且读取是不可重复的,但我不确定我是否理解这意味着的所有内容。
如果线程 A 在嵌入式数据库上开始一个事务,然后线程 B 开始一个事务并提交它,是否保证或仅可能线程 A 的事务中的后续读取将看到线程 B 的事务的影响?
是的,目前(由于已提交的读取),当您请求它们时,您将看到来自另一个线程的更改(提交),例如通过 id 或通过索引查找。
尽管有更强的隔离保证,但计划在未来进行更改。
见:http ://docs.neo4j.org/chunked/stable/transactions.html