Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read isolation in Neo4j

I know that the default isolation level is READ_COMMITTED and that reads are non-repeatable, but I'm not sure I understand everything this implies.

If thread A begins a transaction on an embedded database, then thread B begins a transaction and commits it, is it guaranteed or merely possible that subsequent reads within thread A's transaction will see the effects of thread B's transaction?

like image 779
Kevin Krumwiede Avatar asked Dec 09 '25 07:12

Kevin Krumwiede


1 Answers

Yes, currently (due to read committed) you will see changes (commits) from another thread when you ask for them, e.g. by id or by index lookup.

This is planned to be changed in the future though with stronger isolation guarantees.

see: http://docs.neo4j.org/chunked/stable/transactions.html

like image 64
Michael Hunger Avatar answered Dec 12 '25 11:12

Michael Hunger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!