You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/08 17:23:39 UTC

[jira] [Commented] (ASTERIXDB-1271) Revisit UUID implementation

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

ASF subversion and git services commented on ASTERIXDB-1271:
------------------------------------------------------------

Commit daa87d833b9fd15d77405eec73e533557cfb14f5 in incubator-asterixdb's branch refs/heads/master from Michael D. Blow
[ https://git-wip-us.apache.org/repos/asf?p=incubator-asterixdb.git;h=daa87d8 ]

ASTERIXDB-1271: Revisit UUID Implementation

- Updated UUID implementation to eliminate marshalling to/from a pair
  of longs, replacing with byte [].
- Eliminate all but one call to SecureRandom at init time, avoid risk
  of entropy exhaustion
- Fix exceptions thrown
- Incorporate constant to represent number of bytes, String chars in
  an instance of AUUID
- Split generated from parsed AUUID
- Eliminate intermediate StringBuilder construction on priting paths,
  optimize imports

Change-Id: I9e90d42f6b62f80ad180dbd0c8c852db85b14173
Reviewed-on: https://asterix-gerrit.ics.uci.edu/610
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <ba...@gmail.com>
Reviewed-by: Till Westmann <ti...@apache.org>


> Revisit UUID implementation
> ---------------------------
>
>                 Key: ASTERIXDB-1271
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1271
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Data Model
>            Reporter: Till Westmann
>            Assignee: Michael Blow
>
> AUUID contains an implementation of UUIDs. We should be able to either use the one provided by the JDK or to change ours to be optimized towards our use cases (e.g. choosing a byte array oriented representation that enables us to get rid of AMutableUUID).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)