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

[Plasma] Random unique ids always use the same seed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • C++ - Plasma
    • 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

            Unassigned Unassigned
            apitrou Antoine Pitrou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: