[CreateTable] Check backend disk has available capacity by storage medium before create table (#3519)
Currently we choose BE random without check disk is available, the create table will failed until create tablet task is sent to BE and BE will check is there has available capacity to create tablet. So check backend disk available by storage medium will reduce unnecessary RPC call.
This commit is contained in:
@ -222,6 +222,7 @@ Syntax:
|
||||
```
|
||||
|
||||
storage_medium: SSD or HDD, The default initial storage media can be specified by `default_storage_medium= XXX` in the fe configuration file `fe.conf`, or, if not, by default, HDD.
|
||||
Note: when FE configuration 'enable_strict_storage_medium_check' is' True ', if the corresponding storage medium is not set in the cluster, the construction clause 'Failed to find enough host in all backends with storage medium is SSD|HDD'.
|
||||
storage_cooldown_time: If storage_medium is SSD, data will be automatically moved to HDD when timeout.
|
||||
Default is 30 days.
|
||||
Format: "yyyy-MM-dd HH:mm:ss"
|
||||
|
||||
Reference in New Issue
Block a user