mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-13 09:29:07 +08:00
56287bd07d
* week/shell: Cluster check other disk types The `cluster.check` command only took the empty (`""`) and `hdd` disk types into consideration, but a cluster with only `ssd` or `nvme` disk types would be equally valid. This commit simply checks that _any_ disk type is defined, and that some volumes are available for it. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Replace loop that copies slice Use the following construct instead of a `for` loop: ```golang x = append(x, y...) ``` See https://staticcheck.dev/docs/checks#S1011. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> * weed/shell: Check disk types when filer is in use Filer stores its metadata logs in generic (i.e. `""`) or HDD disk type volumes, so make sure those disk types exist and have volumes associated with them when Filer is deployed in the cluster. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> --------- Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> |
||
---|---|---|
.. | ||
cluster | ||
command | ||
filer | ||
ftpd | ||
glog | ||
iamapi | ||
images | ||
mount | ||
mq | ||
notification | ||
operation | ||
pb | ||
query | ||
remote_storage | ||
replication | ||
s3api | ||
security | ||
sequence | ||
server | ||
shell | ||
static | ||
stats | ||
storage | ||
topology | ||
util | ||
wdclient | ||
Makefile | ||
weed.go |