Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2588

[Plasma] Random unique ids always use the same seed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: C++ - Plasma
    • Labels:
      None

      Description

      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:

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

      As a sidenote, the plasma test suite should ideally test for this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apitrou Antoine Pitrou
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: