Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2539

Implement file streaming above pluggable filesystems

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0
    • Labels:
      None

      Description

      We recently implemented an abstraction of the file system operations WiredTiger uses. A complexity in the API is that there are a few cases in WiredTiger where we use streaming functionality.

      That functionality is implemented via two methods in the filesystem API:

      WT_FH::fh_getc
      WT_FH::fh_printf
      

      They also require a set of flags to WT_CONNECTION_IMPL::handle_open, which are WT_STREAM_APPEND | WT_STREAM_READ | WT_STREAM_WRITE. It would be nice to add implementations of the functionality above the file-system API layer. Doing so serves three purposes:

      • Reduce complexity of file system API.
      • Reduce complexity inside file open/close
      • Remove some redundant code across different file system implementations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.cahill Michael Cahill
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: