This content has been marked as final.
Show 3 replies
-
1. Re: locking individual node
ben.wang Oct 10, 2005 4:29 AM (in response to stelang)Cache will only do a write lock on /a, /a/b, and /a/b/c for the node creation. After that, only write lock on /a/b/c.
-Ben -
2. Re: locking individual node
stelang Oct 10, 2005 9:59 AM (in response to stelang)Thanks for your reply. So. for updating node c, the entire path /a/b/c will have a write lock, correct? So, I cannot update 2 nodes /a/b/c and /a/b/d simultaneously as /a/b will have a write lock. Thanks again.
-
3. Re: locking individual node
belaban Oct 10, 2005 10:49 AM (in response to stelang)No, a and a/b will have a RL, a/b/c a WL. So you can update /a/b/c and a/b/d concurrently, except with isolation level SERIALIZABLE (where RLs cannot be concurrently held)