Antoine Pitrou created ARROW-2588:
-------------------------------------
Summary: [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: Plasma (C++)
Reporter: Antoine Pitrou
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
(v7.6.3#76005)