u1db-discuss team mailing list archive
-
u1db-discuss team
-
Mailing list archive
-
Message #00059
Re: Required data field
> I am confused with how the u1db's conflict detection works?
>
> For example, a document is synced between machine A and B. Then machine A
modify the record, sync with machine B again. How the machine B knows the
record is just updated in machine A? If it is not determined by timestamp ,
then it just know revision...? or other mechanism?
>
The short answer is that updates generate a new revision and we compare
them to determine if one is newer than another, or if it is a conflict.
We can go into more detail about how this works if you want. I think some
of that is in the design doc, did that get made public?
John
=:->
References