OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Dimitri Vorona created ARROW-3660:
-------------------------------------

             Summary: [C++] Don't unnecessary 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


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)