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 2018/10/31 11:02:00 UTC

[jira] [Commented] (ARROW-3660) [C++] Don't unnecessarily lock MemoryMappedFile for resizing in readonly files

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

Antoine Pitrou commented on ARROW-3660:
---------------------------------------

cc [~fsaintjacques]

> [C++] Don't unnecessarily lock MemoryMappedFile for resizing in readonly files
> ------------------------------------------------------------------------------
>
>                 Key: ARROW-3660
>                 URL: https://issues.apache.org/jira/browse/ARROW-3660
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>    Affects Versions: 0.11.0
>            Reporter: Dimitri Vorona
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We lock the resize_lock_ on every read, even though it's not possible to resize read-only files. 
>  
> This also inlines the ResizeMap method into Resize.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)