You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "dataroaring (via GitHub)" <gi...@apache.org> on 2023/06/01 14:07:15 UTC

[GitHub] [doris] dataroaring opened a new issue, #20345: [Enhancement] optimize behavior of default_storage_medium

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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] dataroaring closed issue #20345: [Enhancement] optimize behavior of default_storage_medium

Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring closed issue #20345: [Enhancement] optimize behavior of default_storage_medium 
URL: https://github.com/apache/doris/issues/20345


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Centurybbx commented on issue #20345: [Enhancement] optimize behavior of default_storage_medium

Posted by "Centurybbx (via GitHub)" <gi...@apache.org>.
Centurybbx commented on issue #20345:
URL: https://github.com/apache/doris/issues/20345#issuecomment-1572150701

   I‘d like to work on this!


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org