Re: Transactional operation in janus-graph through gremlin queries
"anj...@gmail.com" <anjani...@...>
Hi Marc,
toggle quoted message
Show quoted text
Thanks for your response. Earlier i had look on the page you shared and from that my understanding is we can define consistency at property level and if same property is modified by two different threads then consistency check from back-end happens and transaction can success or can throw locking exception. But this is applicable to a property of a singe node. In my case i want to add/update property on multiple nodes based on some condition. For example based on some rules we see some nodes are related and we want to group them, for that want to add/update one property on multiple nodes, say want to add/update property on 5 nodes. In that case want to local all 5 nodes, update them and then release locks. - If update to any of the node fails then we should roll back updates to other nodes also. - When update to 5 nodes are going on, no other threads should modify that property. Thanks, Anjani On Friday, 30 October 2020 at 19:26:10 UTC+5:30 HadoopMarc wrote:
|
|