-
Notifications
You must be signed in to change notification settings - Fork 522
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
curvefs: support x-amz-storage-class #2926
base: master
Are you sure you want to change the base?
Conversation
|
Q2&3 s3info is part of fsinfo in etcd |
need set storageclass when createfs.
|
Got it. since the storage class is already part of S3info, so i decide to use the existing createfs rpc for tools, simply adding the storage class parameter. |
i have updated the tool in createfs/src/tools and tools-v2 to support storage class |
Signed-off-by: tianpingan <[email protected]>
Signed-off-by: tianpingan <[email protected]>
Signed-off-by: tianpingan <[email protected]>
Signed-off-by: tianpingan <[email protected]>
ec9926c
to
e0eb79f
Compare
cicheck |
1 similar comment
cicheck |
Signed-off-by: tianpingan <[email protected]>
cicheck |
Signed-off-by: tianpingan <[email protected]>
Signed-off-by: tianpingan <[email protected]>
cicheck |
Signed-off-by: tianpingan <[email protected]>
cicheck |
3 similar comments
cicheck |
cicheck |
cicheck |
What problem does this PR solve?
Issue Number: #2783
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:
When creating a request, the configuration for storage class is encompassed within the PutObjectOptions, applied alongside both PutObject and PutObjectAsync methods.
This allows us to employ PutObjectOptions to construct the S3 request, including the storage class information.
Side effects(Breaking backward compatibility? Performance regression?):
Check List