On 02/11/16 13:56, Esteban A. Maringolo wrote:
2016-11-02 15:48 GMT-03:00 Offray Vladimir Luna Cárdenas
<offray.l...@mutabit.com>:
Hi Sven,
In our ongoing Data Week, we found that would be useful to use a unique
identifier for objects that is not integer (some kind of SHA or similar).
The use case was this:
We were editing the same Grafoscopio tree in a DVCS (fossil, but could be
git or something similar) and the nodes changed in a conflicting edition.
Contents were different, but the order was the same. Do you think is useful
this kind of unique ID index to make STON even DVCS friendlier?
The ID for references should be some form of UUID/GUID.
SHA or any other hash wouldn't work since it would be dependant on the
contents of the object.
However this would increase the file size considerably, 38 bytes per
id (32 hexadecimal leters, 4 hyphens and the quotes for the whole
string).
However according to what Sven said, the integer used for the ref is
the "order" of the element, so it would be a whole different
referencing strategy.
Esteban A. Maringolo
OK. We will think about this to device a better conflict resolution and
collaborative editing strategy.
Cheers,
Offray