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/03/08 16:43:00 UTC
[jira] [Commented] (ARROW-13115) plasma.PlasmaClient do not disconnect when user tried to delete it
[ https://issues.apache.org/jira/browse/ARROW-13115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503055#comment-17503055 ]
Joris Van den Bossche commented on ARROW-13115:
-----------------------------------------------
[~mengyuxian] thanks for the report, and sorry for the very slow reply. There are currently no active maintainers of the Plasma subproject.
I suppose we can add a {{__del__}} to the PlasmaClient class that calls {{disconnect}}. Contributions are certainly welcome.
> plasma.PlasmaClient do not disconnect when user tried to delete it
> ------------------------------------------------------------------
>
> Key: ARROW-13115
> URL: https://issues.apache.org/jira/browse/ARROW-13115
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++ - Plasma, Python
> Affects Versions: 4.0.0
> Reporter: Yuxian Meng
> Priority: Critical
>
> ```
> import pyarrow.plasma as plasma
> for _ in range(10000):
> c = plasma.connect("/tmp/plasma")
> del c
> ```
> The above code turns out not to call c.disconnect() automatically, and will cause `Connection to IPC socket failed` error.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)