Ryan19929 opened a new pull request, #53120:
URL: https://github.com/apache/doris/pull/53120
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Doris has a limitation where the isStorageMediumSpecified flag is
automatically set to true whenever the storage_medium property is specified,
making it impossible for users to independently control the storage medium
specification behavior. This creates inflexibility in storage management
scenarios where users want to specify a storage medium but not enforce strict
storage medium selection.
enhancement:
Add support for storage_medium_specified property to allow independent
control of storage medium specification behavior, decoupling it from the
storage_medium property setting.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [X] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [X] Yes. <!-- Explain the behavior change -->
- Added new storage_medium_specified property that allows users to
independently control the isStorageMediumSpecified flag. Previously, this flag
was automatically set to true when storage_medium was specified. Now users can
set storage_medium without necessarily enabling strict storage medium
specification, providing more flexibility in storage management.
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]