[
https://issues.apache.org/jira/browse/ASTERIXDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137478#comment-15137478
]
Yingyi Bu commented on ASTERIXDB-1289:
--------------------------------------
>> So your work is going to create tuples with guaranteed uniqueness? Does this
>> mean that they will not be randomly generated values? Can you elaborate more?
Yes, in order to fix ASTERIXDB-1168, I will add a function that returns
cluster-wide-unique bytes for each input tuple. Maybe it's a new function that
returns ABinary or maybe we can just re-target the "upgraded" create-uuid
function for that. I'll figure out.
I'm not sure what do you mean by "create tuples". IMO, the function will only
be used for rewriting queries like the one in ASTERIXDB-1168.
>> Does this mean that they will not be randomly generated values?
The create-uuid function in the current master doesn't return randomly
generated values:
https://github.com/apache/incubator-asterixdb/blob/master/asterix-om/src/main/java/org/apache/asterix/om/base/AGeneratedUUID.java#L54.
Does your scenario need randomly generated values?
> Coordinate generated UUIDs within a cluster
> -------------------------------------------
>
> Key: ASTERIXDB-1289
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1289
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Michael Blow
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> UUIDs are generated by Asterix runtime for certain use cases; the uniqueness
> of the UUIDs relies on series of bytes obtained by SecureRandom on each NC.
> This could be improved by having the NCs obtain a unique pool from the CC to
> guarantee cluster-wide uniqueness.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)