You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Dániel Bakai (Jira)" <ji...@apache.org> on 2019/11/08 14:05:00 UTC

[jira] [Commented] (MINIFICPP-1065) Review UUID implementation thread safety

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

Dániel Bakai commented on MINIFICPP-1065:
-----------------------------------------

The UUID implementation is not thread safe on any platforms, and the time-based implementation has a large number of collisions if multiple threads are generating UUIDs.

> Review UUID implementation thread safety
> ----------------------------------------
>
>                 Key: MINIFICPP-1065
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1065
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Dániel Bakai
>            Assignee: Dániel Bakai
>            Priority: Blocker
>             Fix For: 0.7.0
>
>
> The time-based windows version does not seem thread-safe.
> Also, adding an uuid implementation using the native UuidCreateSequential might be better.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)