You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/10/12 15:33:00 UTC

[jira] [Commented] (ARROW-13152) Plasma server hangs on Get requests containing duplicate object IDs

    [ https://issues.apache.org/jira/browse/ARROW-13152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616523#comment-17616523 ] 

Joris Van den Bossche commented on ARROW-13152:
-----------------------------------------------

Not an answer to you actual issue, but note that Plasma is deprecated (see ARROW-17860 and the email thread that is linked there)


> Plasma server hangs on Get requests containing duplicate object IDs
> -------------------------------------------------------------------
>
>                 Key: ARROW-13152
>                 URL: https://issues.apache.org/jira/browse/ARROW-13152
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, C++ - Plasma
>    Affects Versions: 4.0.1
>         Environment: tested on Linux/Python 3.8/pyarrow 4.0.1
>            Reporter: Bruce Martin
>            Priority: Major
>
> 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:
>  
> {code:java}
> # 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.")
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)