Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6840

[C++/Python] retrieve fd of open memory mapped file and Open() memory mapped file by fd

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Labels:
      None

      Description

      We want to retrieve the file descriptor of a memory mapped file for the purpose of transferring it across process boundaries.  On the receiving end, we want to be able to map a file based on the file descriptor rather than the path.

      This helps with race conditions when the path may have been unlinked.

      cf https://lists.apache.org/thread.html/83373ab00f552ee8afd2bac2b2721468b3f28fe283490e379998453a@%3Cdev.arrow.apache.org%3E

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jgm-ktg John Muehlhausen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: