dataroaring opened a new issue, #20345:
URL: https://github.com/apache/doris/issues/20345

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   When there is not storage_medium attr in a create table stmt, then the table 
is created on the medium of type specified by  default_storage_medium in 
fe.conf.  However, when all disks in a cluster are of type SSD and 
default_storage_medium is HDD, then a create table stmt without storage_medium 
fails.
   
   ### Solution
   
   We change behavior of default_storage_medium to preferred option instead of 
specified option. That is, if default_storage_medium is HDD and all disks in a 
doris are SSD, then doris would create a table on SSDs when there is no 
storage_medium specified in the create stmt.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to