seaweedfs/weed/shell
askeipx 2e78a522ab
remove old raft servers if they don't answer to pings for too long (#3398)
* remove old raft servers if they don't answer to pings for too long

add ping durations as options

rename ping fields

fix some todos

get masters through masterclient

raft remove server from leader

use raft servers to ping them

CheckMastersAlive for hashicorp raft only

* prepare blocking ping

* pass waitForReady as param

* pass waitForReady through all functions

* waitForReady works

* refactor

* remove unneeded params

* rollback unneeded changes

* fix
2022-08-23 23:18:21 -07:00
..
command_cluster_check.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
command_cluster_ps.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_cluster_raft_add.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_cluster_raft_ps.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_cluster_raft_remove.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_collection_delete.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
command_collection_list.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_ec_balance.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_ec_common.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_ec_decode.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_ec_encode.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_ec_encode_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_ec_rebuild.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_ec_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_cat.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_cd.go simplify parsing filer host and port 2020-03-23 21:26:15 -07:00
command_fs_configure.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_du.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_ls.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_meta_cat.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
command_fs_meta_load.go move proto package 2022-08-17 12:05:07 -07:00
command_fs_meta_notify.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_meta_save.go move proto package 2022-08-17 12:05:07 -07:00
command_fs_mkdir.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_mv.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_pwd.go fix pwd printout 2020-03-24 02:40:29 -07:00
command_fs_rm.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_tree.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_lock_unlock.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_mount_configure.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_mq_topic_list.go add an empty placeholder for mq.topic.list 2022-07-28 23:24:38 -07:00
command_remote_cache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_configure.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
command_remote_meta_sync.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_mount.go also migrate jsonpb 2022-08-17 12:42:03 -07:00
command_remote_mount_buckets.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_uncache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_unmount.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_bucket_create.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_bucket_delete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_bucket_list.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_bucket_quota.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_bucket_quota_check.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_circuitbreaker.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_circuitbreaker_test.go remove go.uber.org/atomic 2022-06-20 12:35:29 +08:00
command_s3_clean_uploads.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_configure.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_balance.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_volume_balance_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_check_disk.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_configure_replication.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_copy.go feat(weed.move): add a speed limit parameter of moving files (#3478) 2022-08-21 23:08:31 -07:00
command_volume_delete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_delete_empty.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_fix_replication.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_volume_fix_replication_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_fsck.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_list.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_list_test.go fix tests 2022-08-18 00:15:46 -07:00
command_volume_mark.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_mount.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_move.go feat(weed.move): add a speed limit parameter of moving files (#3478) 2022-08-21 23:08:31 -07:00
command_volume_server_evacuate.go format 2022-08-23 01:20:45 -07:00
command_volume_server_evacuate_test.go fix TestVolumeServerEvacuate 2022-07-12 14:56:34 +05:00
command_volume_server_leave.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_tier_download.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_tier_move.go shell: stop long running jobs if lock is lost 2022-08-22 14:12:23 -07:00
command_volume_tier_upload.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_unmount.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_vacuum.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
commands.go fix test 2022-08-23 01:52:29 -07:00
sample.topo.txt use embed txt 2022-02-08 01:14:27 -08:00
shell_liner.go refactor and fix strings.Split 2022-08-07 01:34:32 -07:00