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

fix(s3): Allow custom identity function #12217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

majetideepak
Copy link
Collaborator

@majetideepak majetideepak commented Jan 30, 2025

Today S3FileSystem caches the instances based on the endpoint value.
The endpoint value is not a sufficient key in practice. Usually, the credentials are
per bucket. Presto uses the bucket name as a key as well.
This PR changes the default key to use endpoint + bucket name.
Users can optionally provide a function to define the key
for caching the instances to allow customization.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 30, 2025
@majetideepak majetideepak requested a review from czentgr January 30, 2025 20:35
Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit be1f77d
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67a0fe7ed6e06f0008eebd67

@majetideepak majetideepak force-pushed the fix-s3-identity branch 3 times, most recently from 8306003 to 049a4a6 Compare February 3, 2025 15:27
@majetideepak majetideepak requested a review from JkSelf February 3, 2025 17:31
Copy link
Collaborator

@czentgr czentgr left a comment

Choose a reason for hiding this comment

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

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants