[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137608#comment-15137608
 ] 

Yingyi Bu commented on ASTERIXDB-1289:
--------------------------------------

Yes, definitely.  
Since we already have cluster-wide unique resource id for storage files, I 
guess an auto-generated key in a "to-be-inserted" tuple could consist of 
Resource_ID,  <the number of tuples in the resource>.  The tricky part is to 
get the tuple count from a resource ID because we do not store that 
physically...

> 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)

Reply via email to