You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/12 11:42:00 UTC
[jira] [Assigned] (ARROW-6525) [C++] CloseFromDestructor() should
perhaps not crash
[ https://issues.apache.org/jira/browse/ARROW-6525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou reassigned ARROW-6525:
-------------------------------------
Assignee: Antoine Pitrou
> [C++] CloseFromDestructor() should perhaps not crash
> ----------------------------------------------------
>
> Key: ARROW-6525
> URL: https://issues.apache.org/jira/browse/ARROW-6525
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> When a stream object fails to close in its destructor, CloseFromDestructor() will abort the process with a fatal error. This may not be desirable on e.g. networked filesystems where failing to closing isn't uncommon. Perhaps we should just log an error instead.
> (stream users should generally call Close() explicitly, but in some cases they may fail to do so, e.g. when an error interrupts processing)
--
This message was sent by Atlassian Jira
(v8.3.2#803003)