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/11 09:15:00 UTC

[jira] [Created] (ARROW-6525) [C++] CloseFromDestructor() should perhaps not crash

Antoine Pitrou created ARROW-6525:
-------------------------------------

             Summary: [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


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)