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

Improve file attribute caching #855

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

steve-todorov
Copy link
Collaborator

Pull Request Description

This pull request closes #854.

There are some small breaking changes related to some public methods which were removed as logic for the cache has changed:

  • S3FileSystem#getCache() method was removed
  • S3Path#setFileAttributes() was removed.
  • S3FileSystemProvider#getCache() was removed.
  • S3FileSystemProvider#setCache() was removed.

Acceptance Test

  • Building the code with gradle clean build still works.

Questions

  • Does this pull request break backward compatibility?

  • Does this pull request require other pull requests to be merged first?

    • Yes, please see #...
    • No
  • Does this require an update of the documentation?

    • Yes, please see [provide details here]
    • No

@steve-todorov steve-todorov changed the title Issues/854/attr cache improvements Improve file attribute caching Oct 29, 2024
@steve-todorov

This comment was marked as outdated.

This comment was marked as outdated.

@steve-todorov steve-todorov force-pushed the issues/854/attr-cache-improvements branch from 154d72a to 79d7191 Compare November 6, 2024 00:01
@steve-todorov

This comment was marked as outdated.

This comment was marked as outdated.

@steve-todorov steve-todorov force-pushed the issues/854/attr-cache-improvements branch 2 times, most recently from ecb5f5d to bbcf747 Compare November 6, 2024 23:54
@steve-todorov

This comment was marked as outdated.

This comment was marked as outdated.

@steve-todorov steve-todorov force-pushed the issues/854/attr-cache-improvements branch from 3d73a1f to 7cc3d79 Compare November 7, 2024 12:38
@steve-todorov

This comment was marked as outdated.

This comment was marked as outdated.

@steve-todorov
Copy link
Collaborator Author

/deploy-pr

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Status

Snapshot was successfully deployed!
Build logs are available here

Snapshot artifact coordinates:

org.carlspring.cloud.aws:s3fs-nio:PR-855-SNAPSHOT

WARNING

DO NOT USE IN PRODUCTION AS IT WILL BE DELETED AFTER MERGE!
This is a temporary snapshot preview available only for convenience.

@steve-todorov steve-todorov marked this pull request as ready for review November 21, 2024 15:58
Copy link
Owner

@carlspring carlspring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@carlspring
Copy link
Owner

Needs rebasing from master.

BREAKING CHANGE: `S3FileSystem#getCache()` method was removed
BREAKING CHANGE: `S3Path#setFileAttributes()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#getCache()` was removed.
BREAKING CHANGE: `S3FileSystemProvider#setCache()` was removed.
BREAKING CHANGE: `S3OutputStream` constructor signatures changed
@steve-todorov steve-todorov force-pushed the issues/854/attr-cache-improvements branch from e03a486 to 596434b Compare November 21, 2024 23:20
@steve-todorov steve-todorov merged commit 6b58457 into master Nov 21, 2024
14 checks passed
@steve-todorov steve-todorov deleted the issues/854/attr-cache-improvements branch November 21, 2024 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve file attribute caching
2 participants