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

Plasma server hangs on Get requests containing duplicate object IDs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.1
    • None
    • C++, C++ - Plasma
    • None
    • tested on Linux/Python 3.8/pyarrow 4.0.1

    Description

      If a plasma client issues a Get request containing duplicate object IDs, and a timeout of -1, the server will hang.

      The logic at the end of `PlasmaStore::ProcessGetRequest()` only returns a response when the number of satisfied requests match the number of unique objects to wait for.  The former is calculated using the number of requested object IDs, not the number of unique requested object IDs.

      To reproduce:

       

      # start the plasma store first
      
      from pyarrow import plasma
      client = plasma.connect("/tmp/plasma")
      oid = client.put("hello, world")
      print(client.get([oid, oid], -1))print("done.")
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bkmartin Bruce Martin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: