Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated cache for FileSystems leads to unpredictable behavior #6878

Closed
fm3 opened this issue Feb 27, 2023 · 1 comment
Closed

Duplicated cache for FileSystems leads to unpredictable behavior #6878

fm3 opened this issue Feb 27, 2023 · 1 comment
Assignees

Comments

@fm3
Copy link
Member

fm3 commented Feb 27, 2023

The FileSystemProviders have their own cache for the nio file systems. Since we cache them again in a central spot, this is redundant. Also, the internal cache (at least of the HttpsFileSystem) does not distinguish between credentials, so file systems that are supposed to be different can be wrongly intermixed.

We should consider either unifying this behavior or disabling the inner cache altogether (make sure to check what the GCS File System one does, which does not live in our codebase)

@fm3
Copy link
Member Author

fm3 commented Mar 21, 2023

fixed by #6899

@fm3 fm3 closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants