You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yuxian Meng (Jira)" <ji...@apache.org> on 2021/06/18 09:43:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Yuxian Meng updated ARROW-13115:
--------------------------------
Description:
```
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.
was:
```
import pyarrow.plasma as plasma
c = plasma.connect("/tmp.plasma")
del c
```
> 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: 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.3.4#803005)