-
Notifications
You must be signed in to change notification settings - Fork 246
do not allow using crr location as a locationConstraint #5806
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
base: development/9.1
Are you sure you want to change the base?
Conversation
Hello kerkesni,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
171a8ec
to
f209c2a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files
@@ Coverage Diff @@
## development/9.0 #5806 +/- ##
================================================
Coverage 75.62% 75.62%
================================================
Files 188 188
Lines 11948 11948
================================================
Hits 9036 9036
Misses 2912 2912
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
@@ -59,7 +59,8 @@ function checkLocationConstraint(request, locationConstraint, log) { | |||
return { error: errorInstances.InvalidLocationConstraint. | |||
customizeDescription(errMsg) }; | |||
} | |||
if (locationConstraints[locationConstraintChecked].isCold) { | |||
if (locationConstraints[locationConstraintChecked].isCold || | |||
locationConstraints[locationConstraintChecked].type === 'crr') { |
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.
instead of doing the check based on the type
, maybe we could to introduce a feature
parameter, like isCold → isCrr
?
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
@@ -59,7 +59,8 @@ function checkLocationConstraint(request, locationConstraint, log) { | |||
return { error: errorInstances.InvalidLocationConstraint. | |||
customizeDescription(errMsg) }; | |||
} | |||
if (locationConstraints[locationConstraintChecked].isCold) { | |||
if (locationConstraints[locationConstraintChecked].isCold || |
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.
location constraint can be set on bucket (and should thus be rejected), but can also be specified directly in putObject / copyObject / putMpu : this needs to be handled as well
Issue: CLDSRV-653