AnsweredAssumed Answered

How to lock a node in a clustered environment

Question asked by broeks on Nov 12, 2010
Latest reply on Nov 15, 2010 by broeks
Hi. I've been googling around on this, and I'm not quite sure the best approach.

My scenario –

User creates a child node. This node has a mandatory, unique property (prop A) that is constructed based off of a property on the parent node (prop B). The result of creating the child node also includes updating the parent's prop B node, so that a potential next child node would not receive the same (prop B) property on which to base their (prop A) property.

I have captured all of this behavior in an aspect, but I'm worried about concurrency amongst a cluster of servers. I've implemented a solution using  Alfresco LockService, but I can't seem to find out if it locks across multiple servers. Is this dependent on the cluster set up?

Any advice is greatly appreciated.

Thanks!

Outcomes