You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2021/02/19 20:53:00 UTC

[jira] [Closed] (ARROW-2588) [Plasma] Random unique ids always use the same seed

     [ https://issues.apache.org/jira/browse/ARROW-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney closed ARROW-2588.
-------------------------------
    Resolution: Won't Fix

> [Plasma] Random unique ids always use the same seed
> ---------------------------------------------------
>
>                 Key: ARROW-2588
>                 URL: https://issues.apache.org/jira/browse/ARROW-2588
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Plasma
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> Following GitHub PR #2039 (resolution to ARROW-2578), the random generator for random object ids is now using a constant default seed, meaning all processes will generate the same sequence of random ids:
> {code:java}
> $ python -c "from pyarrow import plasma; print(plasma.ObjectID.from_random())"
> ObjectID(d022e7d520f8e938a14e188c47308cfef5fff7f7)
> $ python -c "from pyarrow import plasma; print(plasma.ObjectID.from_random())"
> ObjectID(d022e7d520f8e938a14e188c47308cfef5fff7f7)
> {code}
> As a sidenote, the plasma test suite should ideally test for this.



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