Skip to content

FileSystem always created #30

Closed
Closed
@stefanofornari

Description

@stefanofornari

Is a design choice to create always a new S3FileSystem in both newFileSystem and getFileSystem? It kind of violates the intended behaviour of NIO file systems and should not be a big effort to create a caching mechanism.

I have also noticed that getPath() calls FileSystems.getFileSystem(uri), which then creates a new FileSystem. However S3FileSystem keeps some state like if open or open channels. Could this be a problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions