Hi,

>I still do not understand, why we do not delegate the UUID
>generation/lookup to the persistence instead of insisting it to be just
>like any other property index...

The UUID _generation_ is not a problem. (I it a bit slow, but scales well
- no issue there). The UUID _lookup_ is not a problem either. The problem
is indexing, because this is a unique index (wasted storage space, wasted
CPU and latency). The issue is, in most cases there is no need for this
UUID. So why index it. Sure, we could improve indexing (improve unique
property indexes). But it would be easier to not index those nodes at all.

I would not change nt:resource because of backward compatibility issues.
Instead I would recommend not to use nt:resource. See SLING-6090.

Regards,
Thomas

Reply via email to