mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-29 05:41:02 +02:00
* 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> |
||
---|---|---|
.. | ||
command_cluster_check.go | ||
command_cluster_ps.go | ||
command_cluster_raft_add.go | ||
command_cluster_raft_ps.go | ||
command_cluster_raft_remove.go | ||
command_collection_delete.go | ||
command_collection_list.go | ||
command_ec_balance.go | ||
command_ec_common.go | ||
command_ec_decode.go | ||
command_ec_encode.go | ||
command_ec_encode_test.go | ||
command_ec_rebuild.go | ||
command_ec_test.go | ||
command_fs_cat.go | ||
command_fs_cd.go | ||
command_fs_configure.go | ||
command_fs_du.go | ||
command_fs_ls.go | ||
command_fs_merge_volumes.go | ||
command_fs_meta_cat.go | ||
command_fs_meta_change_volume_id.go | ||
command_fs_meta_load.go | ||
command_fs_meta_notify.go | ||
command_fs_meta_save.go | ||
command_fs_mkdir.go | ||
command_fs_mv.go | ||
command_fs_pwd.go | ||
command_fs_rm.go | ||
command_fs_tree.go | ||
command_fs_verify.go | ||
command_lock_unlock.go | ||
command_mount_configure.go | ||
command_mq_balance.go | ||
command_mq_topic_configure.go | ||
command_mq_topic_desc.go | ||
command_mq_topic_list.go | ||
command_remote_cache.go | ||
command_remote_configure.go | ||
command_remote_meta_sync.go | ||
command_remote_mount.go | ||
command_remote_mount_buckets.go | ||
command_remote_uncache.go | ||
command_remote_unmount.go | ||
command_s3_bucket_create.go | ||
command_s3_bucket_delete.go | ||
command_s3_bucket_list.go | ||
command_s3_bucket_quota.go | ||
command_s3_bucket_quota_check.go | ||
command_s3_circuitbreaker.go | ||
command_s3_circuitbreaker_test.go | ||
command_s3_clean_uploads.go | ||
command_s3_configure.go | ||
command_volume_balance.go | ||
command_volume_balance_test.go | ||
command_volume_check_disk.go | ||
command_volume_check_disk_test.go | ||
command_volume_configure_replication.go | ||
command_volume_copy.go | ||
command_volume_delete.go | ||
command_volume_delete_empty.go | ||
command_volume_fix_replication.go | ||
command_volume_fix_replication_test.go | ||
command_volume_fsck.go | ||
command_volume_list.go | ||
command_volume_list_test.go | ||
command_volume_mark.go | ||
command_volume_mount.go | ||
command_volume_move.go | ||
command_volume_server_evacuate.go | ||
command_volume_server_evacuate_test.go | ||
command_volume_server_leave.go | ||
command_volume_tier_download.go | ||
command_volume_tier_move.go | ||
command_volume_tier_upload.go | ||
command_volume_unmount.go | ||
command_volume_vacuum.go | ||
command_volume_vacuum_disable.go | ||
command_volume_vacuum_enable.go | ||
commands.go | ||
shell_liner.go | ||
volume.list.txt | ||
volume.list2.txt |