Open GoogleCodeExporter opened 9 years ago
Personally, I'd prefer domains to be added to the document-id. Both cases are
going to
make the id longer, why not go with the one that guarantees no collisions?
Original comment by mac...@gmail.com
on 10 Jun 2009 at 4:17
Original comment by so...@google.com
on 11 Jun 2009 at 12:16
Adding the domain doesn't help with collisions, since two users on the same
domain
could create new documents in the same remote wavelet. A solution might be to
both
expand the size of docids, and as an added helper, make the first part of the
docid be
based on part of the hash of user+domain.
Original comment by anthonybaxter@gmail.com
on 16 Mar 2010 at 4:12
As long as a domain is responsible for generating document-ids for documents
created by
its users and said domain is aware of all the document-ids it has generated
within that
wavelet, there will never be a collision. There is the additional check of
making sure
the "random" part of the ID hasn't been used before, but all those IDs should
be
available to check because the domain only has to check the documents created
by its
users.
Original comment by mac...@gmail.com
on 27 Apr 2010 at 10:16
There are no explicit document-creating operations, and they don't "collide".
OT just resolves everything so that both contributions are reflected. Of course
this may not always be desired but it's merely an extension of the properties
that apply within a document. Document creators are free to add a domain to the
ids if desired.
I'm not convinced this is an issue we should fix.
Original comment by ano...@google.com
on 14 Sep 2010 at 11:44
Original comment by ano...@google.com
on 14 Sep 2010 at 11:44
Original issue reported on code.google.com by
mac...@gmail.com
on 10 Jun 2009 at 4:16