Hello community,

In the documentation here 
<https://www.arangodb.com/docs/stable/transactions-locking-and-isolation.html>, 
under locks section, I see

"However, if two concurrent transactions attempt to modify the same 
document or index entry, there will be a write-write conflict"

Consider, I have a collection named food with below two documents and an 
index on the fields "category, color". 

*food:*
{
   name: apple,
   category:  fruit
   color: red  
},
{
   name: raspberry,
   category: fruit
   color: red
}

if I have a transaction T1 modifying the first document(apple document) and 
another transaction T2 modifying the second document(raspberry document) 
concurrently. Though they are different documents, can i get write-write 
conflict because they have same value of for category and color on which 
the index is built?

Looking forward for response.

Thank you,
Prashanth

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/42dd618f-2a5e-4334-bb6d-1c562d75c544n%40googlegroups.com.

Reply via email to