seaweedfs/weed/shell
石昌林 78b3728169 add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations
configure s3 circuit breaker by 'command_s3_circuitbreaker.go':
usage eg:
# Configure the number of simultaneous global (current s3api node) requests
s3.circuit.breaker -global -type count -actions Write -values 1000 -apply

# Configure the number of simultaneous requests for bucket x read and write
s3.circuit.breaker -buckets -type count -actions Read,Write -values 1000 -apply

# Configure the total bytes of simultaneous requests for bucket write
s3.circuit.breaker -buckets -type bytes -actions Write -values 100MiB -apply

# Disable circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -enable false -apply

# Delete circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -delete -apply
2022-06-15 21:07:55 +08:00
..
command_cluster_check.go fix error reporting for "Need to a hdd disk type" 2022-05-31 12:43:55 -07:00
command_cluster_ps.go collect volume server status 2022-06-12 11:56:23 -07:00
command_cluster_raft_add.go use "cluster.raft.{ps,add,remove}" 2022-04-11 10:50:01 +05:00
command_cluster_raft_ps.go use "cluster.raft.{ps,add,remove}" 2022-04-11 10:50:01 +05:00
command_cluster_raft_remove.go use "cluster.raft.{ps,add,remove}" 2022-04-11 10:50:01 +05:00
command_collection_delete.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_collection_list.go use logical number of files and sizes for statistics and quota 2022-03-04 18:47:44 -08:00
command_ec_balance.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_ec_common.go enhancement: replace sort.Slice with slices.SortFunc to reduce reflection 2022-04-18 10:35:43 +08:00
command_ec_decode.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_ec_encode.go erasure coding: tracking encoded/decoded volumes 2022-04-05 19:03:02 -07:00
command_ec_encode_test.go simpler output 2022-02-24 13:50:08 -08:00
command_ec_rebuild.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_ec_test.go go fmt 2021-02-17 20:57:08 -08:00
command_fs_cat.go filer read empty file may cause OOM in some cases 2022-02-07 23:08:54 -08:00
command_fs_cd.go simplify parsing filer host and port 2020-03-23 21:26:15 -07:00
command_fs_configure.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_fs_du.go rename filer2 to filer 2020-09-01 00:21:19 -07:00
command_fs_ls.go rename filer2 to filer 2020-09-01 00:21:19 -07:00
command_fs_meta_cat.go enhancement: replace sort.Slice with slices.SortFunc to reduce reflection 2022-04-18 10:35:43 +08:00
command_fs_meta_load.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_fs_meta_notify.go typo 2022-05-30 12:37:41 -07:00
command_fs_meta_save.go refactoring, move genFn before saveFn 2022-01-21 12:08:58 -08:00
command_fs_mkdir.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_fs_mv.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_fs_pwd.go fix pwd printout 2020-03-24 02:40:29 -07:00
command_fs_rm.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_fs_tree.go able to subscribe any topic from any point of time 2020-04-29 17:40:08 -07:00
command_lock_unlock.go rename file 2021-12-10 13:11:00 -08:00
command_mount_configure.go configure mount quota 2022-04-02 21:34:26 -07:00
command_remote_cache.go fix help message 2021-11-07 12:38:35 -08:00
command_remote_configure.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_remote_meta_sync.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_remote_mount.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_remote_mount_buckets.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_remote_uncache.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_remote_unmount.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_s3_bucket_create.go fix: fix command prompt information 2022-06-10 12:46:10 +08:00
command_s3_bucket_delete.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_s3_bucket_list.go filer: remove replication, collection, disk_type info from entry metadata 2022-06-06 00:39:35 -07:00
command_s3_bucket_quota.go able to configure the quota for a bucket 2022-01-21 01:42:20 -08:00
command_s3_bucket_quota_check.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_s3_circuitbreaker.go add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations 2022-06-15 21:07:55 +08:00
command_s3_circuitbreaker_test.go add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations 2022-06-15 21:07:55 +08:00
command_s3_clean_uploads.go cleanupUploads use jwt token 2022-04-12 13:46:11 +05:00
command_s3_configure.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_balance.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_balance_test.go go fmt 2021-08-08 22:30:36 -07:00
command_volume_check_disk.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_configure_replication.go volume.balance: add delay during tight loop 2022-02-08 00:53:55 -08:00
command_volume_copy.go add lock messages 2021-12-10 13:24:38 -08:00
command_volume_delete.go add lock messages 2021-12-10 13:24:38 -08:00
command_volume_delete_empty.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_fix_replication.go volume.fix.replication fix retry logic 2022-06-03 08:45:29 -07:00
command_volume_fix_replication_test.go volume.fix.replication: fix misplaced volumes 2021-12-05 16:56:25 -08:00
command_volume_fsck.go shell: volume.fsck add a note for -reallyDeleteFromVolume option 2022-05-15 11:07:04 -07:00
command_volume_list.go volume.list show only readonly, collectionPattern and volumeId 2022-04-19 11:44:41 +05:00
command_volume_list_test.go test checking ec distribution 2022-02-08 01:50:05 -08:00
command_volume_mark.go add lock messages 2021-12-10 13:24:38 -08:00
command_volume_mount.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_volume_move.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_volume_server_evacuate.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_server_evacuate_test.go shell: fix moving volume, volume server evacuate 2021-03-14 21:29:55 -07:00
command_volume_server_leave.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_volume_tier_download.go volume.balance: add delay during tight loop 2022-02-08 00:53:55 -08:00
command_volume_tier_move.go help message when in simulation mode 2022-05-31 14:48:46 -07:00
command_volume_tier_upload.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_volume_unmount.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
command_volume_vacuum.go fix return value 2022-04-29 11:19:36 +08:00
commands.go filer: add filer group 2022-05-01 21:59:16 -07:00
sample.topo.txt use embed txt 2022-02-08 01:14:27 -08:00
shell_liner.go filer: add filer group 2022-05-01 21:59:16 -07:00