Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.8.0
    • None
    • fs/s3
    • None

    Description

      After lazy-seek, I want to add a —very much non-default —lazy-open option.

      If you look at a trace of what goes on with object store access, there's usually a GET at offset 0 (the open() command, followed by a seek().

      If there was a lazy option option, then open() would set up the instance for reading, but not actually talk to the object store —it'd be the first seek or read which would hit the service. You'd eliminate one HTTP operation from a read sequence, for a faster startup time, especially long-haul.

      That's a big break in the normal assumption: if a file isn't there, open() fails, so it'd only work with apps which did open+read, open+seek, or opened+positioned readable action back to back. By making it an option people can experiment to see what happens —though full testing would need to do some fault injection on the first seek/read to see how code handled late failure.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: