-
Notifications
You must be signed in to change notification settings - Fork 252
Ft/s3 c 1179/gcp s3 mpu #1123
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
Ft/s3 c 1179/gcp s3 mpu #1123
Conversation
84032fa to
47e9e14
Compare
|
PR has been updated. Reviewers, please be cautious. |
47e9e14 to
b6690e4
Compare
|
PR has been updated. Reviewers, please be cautious. |
lib/api/objectPutPart.js
Outdated
| return next(null, destinationBucket, | ||
| objectLocationConstraint, cipherBundle, splitter, | ||
| partInfo); | ||
| } else if (partInfo && partInfo.dataStoreType === 'gcp') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trivial, but these two else ifs could be combined with something like ['azure', 'gcp'].includes(partInfo.dataStoreType)
lib/api/objectPutPart.js
Outdated
| if (partInfo && partInfo.dataStoreType === 'azure') { | ||
| if (partInfo && | ||
| (partInfo.dataStoreType === 'azure' || | ||
| partInfo.dataStoreType === 'gcp')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could use a similar structure as my previous comment, with the Array.includes() method
b6690e4 to
9a09f2d
Compare
|
PR has been updated. Reviewers, please be cautious. |
9a09f2d to
634e33e
Compare
|
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
|
Hello @alexanderchan-scality "DEFAULT_BRANCH=rel/7.4": Success {
"DEFAULT_BRANCH": "rel/7.4",
"SCALITY_S3_BRANCH": "ft/S3C-1179/GCP-S3-MPU",
"SCALITY_INTEGRATION_BRANCH": "test/zenkobb",
"REPO_NAME": "S3",
"SCALITY_FEDERATION_BRANCH": "ft/S3C-1114/GCP-BACKEND"
} |
|
☀️ 👍 circleCI test succeeded! |
634e33e to
b38eaf2
Compare
|
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
|
Hello @alexanderchan-scality "DEFAULT_BRANCH=rel/7.4": Success {
"DEFAULT_BRANCH": "rel/7.4",
"SCALITY_S3_BRANCH": "ft/S3C-1179/GCP-S3-MPU",
"SCALITY_INTEGRATION_BRANCH": "test/zenkobb",
"REPO_NAME": "S3",
"SCALITY_FEDERATION_BRANCH": "ft/S3C-1114/GCP-BACKEND"
} |
|
☀️ 👍 circleCI test succeeded! |
| versioningNotImplBackends: { azure: true }, | ||
| mpuMDStoredExternallyBackend: { aws_s3: true }, | ||
| versioningNotImplBackends: { azure: true, gcp: true }, | ||
| mpuMDStoredExternallyBackend: { aws_s3: true, gcp: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we actually storing MD on GCP like we do for AWS S3? Because for AWS we do initiate mpu but for GCP we emulate MPU.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. On initiate MPU, a 0-byte object will be created to hold the metadata for the final object.
b38eaf2 to
6a5ffa7
Compare
|
PR has been updated. Reviewers, please be cautious. |
6a5ffa7 to
6d43503
Compare
|
PR has been updated. Reviewers, please be cautious. |
|
|
PR has been updated. Reviewers, please be cautious. |
|
1586f97 to
de6d448
Compare
|
PR has been updated. Reviewers, please be cautious. |
de6d448 to
76d5cdf
Compare
|
PR has been updated. Reviewers, please be cautious. |
8bc6385 to
f95e571
Compare
|
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
|
Hello @alexanderchan-scality "DEFAULT_BRANCH=rel/7.4": Success {
"REPO_NAME": "S3",
"DEFAULT_BRANCH": "rel/7.4",
"SCALITY_INTEGRATION_BRANCH": "ft/GCP",
"SCALITY_FEDERATION_BRANCH": "ft/GCP",
"SCALITY_S3_BRANCH": "ft/S3C-1179/GCP-S3-MPU"
} |
|
💔 ☔ circleCI test failed. |
|
Passing integration build: http://ci.ironmann.io/gh/scality/Integration/20163 |
Adds MPU functionalities to GCP Backend
f95e571 to
8b62925
Compare
Do it again human slave!:point_right: :runner: (Oh and the pull request has been updated, by the way.)
|
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
|
Hello @alexanderchan-scality "DEFAULT_BRANCH=rel/7.4": Success {
"REPO_NAME": "S3",
"DEFAULT_BRANCH": "rel/7.4",
"SCALITY_INTEGRATION_BRANCH": "ft/GCP",
"SCALITY_FEDERATION_BRANCH": "ft/GCP",
"SCALITY_S3_BRANCH": "ft/S3C-1179/GCP-S3-MPU"
} |
|
☀️ 👍 circleCI test succeeded! |
|
PR has been updated. Reviewers, please be cautious. |
|
f2e9d5e to
9273dcf
Compare
|
PR has been updated. Reviewers, please be cautious. |
9273dcf to
a257e76
Compare
|
PR has been updated. Reviewers, please be cautious. |
a257e76 to
a32690b
Compare
|
PR has been updated. Reviewers, please be cautious. |
a32690b to
9c3a8f1
Compare
|
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
|
Hello @alexanderchan-scality "DEFAULT_BRANCH=rel/7.4": Success {
"REPO_NAME": "S3",
"DEFAULT_BRANCH": "rel/7.4",
"SCALITY_INTEGRATION_BRANCH": "ft/GCP",
"SCALITY_FEDERATION_BRANCH": "ft/GCP",
"SCALITY_S3_BRANCH": "ft/S3C-1179/GCP-S3-MPU"
} |
|
☀️ 👍 circleCI test succeeded! |
Adds GCP MPU Functionality