seaweedfs/weed/shell
Chris Lu 580940bf82
Merge accumulated changes related to message queue (#5098)
* balance partitions on brokers

* prepare topic partition first and then publish, move partition

* purge unused APIs

* clean up

* adjust logs

* add BalanceTopics() grpc API

* configure topic

* configure topic command

* refactor

* repair missing partitions

* sequence of operations to ensure ordering

* proto to close publishers and consumers

* rename file

* topic partition versioned by unixTimeNs

* create local topic partition

* close publishers

* randomize the client name

* wait until no publishers

* logs

* close stop publisher channel

* send last ack

* comments

* comment

* comments

* support list of brokers

* add cli options

* Update .gitignore

* logs

* return io.eof directly

* refactor

* optionally create topic

* refactoring

* detect consumer disconnection

* sub client wait for more messages

* subscribe by time stamp

* rename

* rename to sub_balancer

* rename

* adjust comments

* rename

* fix compilation

* rename

* rename

* SubscriberToSubCoordinator

* sticky rebalance

* go fmt

* add tests

* balance partitions on brokers

* prepare topic partition first and then publish, move partition

* purge unused APIs

* clean up

* adjust logs

* add BalanceTopics() grpc API

* configure topic

* configure topic command

* refactor

* repair missing partitions

* sequence of operations to ensure ordering

* proto to close publishers and consumers

* rename file

* topic partition versioned by unixTimeNs

* create local topic partition

* close publishers

* randomize the client name

* wait until no publishers

* logs

* close stop publisher channel

* send last ack

* comments

* comment

* comments

* support list of brokers

* add cli options

* Update .gitignore

* logs

* return io.eof directly

* refactor

* optionally create topic

* refactoring

* detect consumer disconnection

* sub client wait for more messages

* subscribe by time stamp

* rename

* rename to sub_balancer

* rename

* adjust comments

* rename

* fix compilation

* rename

* rename

* SubscriberToSubCoordinator

* sticky rebalance

* go fmt

* add tests

* tracking topic=>broker

* merge

* comment
2023-12-11 12:05:54 -08:00
..
command_cluster_check.go grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08:00
command_cluster_ps.go minor 2023-06-19 18:43:41 -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 show raft leader via shell (#3796) 2022-10-06 07:10:41 -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 fix(ec): volumes created by foreign collection due to bug in ec balance (#4864) 2023-09-25 10:35:43 -07:00
command_ec_common.go Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"" 2023-09-25 09:35:16 -07:00
command_ec_decode.go ec.decode: mount the collected ec shards 2023-11-10 00:04:42 -08:00
command_ec_encode_test.go refactor(shell): Decending -> Descending (#3675) 2022-09-14 12:06:48 -07:00
command_ec_encode.go log full percentage 2023-10-22 12:59:34 -07:00
command_ec_rebuild.go refactor(command_ec_rebuild): rebultErr -> rebuildErr (#3679) 2022-09-14 13:10:27 -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 refactor filer_pb.Entry and filer.Entry to use GetChunks() 2022-11-15 06:33:36 -08:00
command_fs_cd.go simplify parsing filer host and port 2020-03-23 21:26:15 -07:00
command_fs_configure.go fix: disallow file name too long when writing a file (#4881) 2023-10-12 14:29:55 -07:00
command_fs_du.go refactor filer_pb.Entry and filer.Entry to use GetChunks() 2022-11-15 06:33:36 -08:00
command_fs_ls.go refactor filer_pb.Entry and filer.Entry to use GetChunks() 2022-11-15 06:33:36 -08:00
command_fs_merge_volumes.go fs.mergeVolumes: change dir to a named parameter 2023-11-13 08:25:44 -08:00
command_fs_meta_cat.go sort chunks by offset 2023-01-12 20:29:07 -08:00
command_fs_meta_change_volume_id.go skipping manifest chunk volume id change 2023-01-29 22:55:06 -08:00
command_fs_meta_load.go fs.meta.load load any dirs with prefix "important" (#3747) 2022-09-27 09:58:46 -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 ADHOC: fix fs.meta.save typo (#3993) 2022-11-20 21:05:00 -08: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 refactor(command_fs_rm): entiries -> entries (#3670) 2022-09-14 11:24:27 -07:00
command_fs_tree.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_fs_verify.go cleaning variables 2023-03-19 18:48:40 -07:00
command_lock_unlock.go refactor(shell): readability improvements (#3704) 2022-09-16 02:43:49 -07:00
command_mount_configure.go refactor(socket mount): Update socket mount pattern to `/tmp/seaweedf… (#3662) 2022-09-14 09:14:44 -07:00
command_mq_balance.go Merge accumulated changes related to message queue (#5098) 2023-12-11 12:05:54 -08:00
command_mq_topic_configure.go Merge accumulated changes related to message queue (#5098) 2023-12-11 12:05:54 -08:00
command_mq_topic_desc.go describe a topic 2023-09-25 20:46:00 -07:00
command_mq_topic_list.go Merge accumulated changes related to message queue (#5098) 2023-12-11 12:05:54 -08:00
command_remote_cache.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_configure.go support swift (#4480) 2023-05-19 06:39:25 -07:00
command_remote_meta_sync.go refactor(shell): readability improvements (#3704) 2022-09-16 02:43:49 -07:00
command_remote_mount_buckets.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_remote_mount.go reset local file content if remote file is updated 2023-04-22 22:32:21 -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 refactoring 2023-02-07 14:45:20 -08:00
command_s3_bucket_delete.go Use filerGroup for s3 buckets collection prefix (#4465) 2023-05-16 09:39:43 -07:00
command_s3_bucket_list.go Use filerGroup for s3 buckets collection prefix (#4465) 2023-05-16 09:39:43 -07:00
command_s3_bucket_quota_check.go Use filerGroup for s3 buckets collection prefix (#4465) 2023-05-16 09:39:43 -07:00
command_s3_bucket_quota.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_circuitbreaker_test.go refactor(shell): readability improvements (#3704) 2022-09-16 02:43:49 -07:00
command_s3_circuitbreaker.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_s3_clean_uploads.go Fix s3.clean.uploads (#4766) 2023-08-19 06:30:18 -07:00
command_s3_configure.go fix index (#4158) 2023-01-28 06:55:27 -08:00
command_volume_balance_test.go fix shell volume.balance bug (#4447) 2023-05-04 07:35:37 -07:00
command_volume_balance.go Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"" 2023-09-25 09:35:16 -07:00
command_volume_check_disk_test.go fix: skipping checking active volumes with the same number of files at the moment (#4893) 2023-10-09 09:57:26 -07:00
command_volume_check_disk.go fix has changes false if deleted result size eq zero (#4909) 2023-10-12 08:15:20 -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_empty.go avoid data race read volume.IsEmpty (#4574) 2023-06-14 14:39:58 -07:00
command_volume_delete.go Delete volume is empty (#4561) 2023-06-12 10:42:44 -07:00
command_volume_fix_replication_test.go fix TestMisplacedChecking() and add test-case 2023-11-21 08:24:34 -08:00
command_volume_fix_replication.go fix isMisplaced() in command_volume_fix_replication.go (#4988) 2023-11-07 07:58:19 -08:00
command_volume_fsck.go fix chunk.ModifiedTsNs (#4264) 2023-03-02 08:24:36 -08:00
command_volume_list_test.go tests add parsing ec shard info 2022-10-09 22:47:55 -07:00
command_volume_list.go Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"" 2023-09-25 09:35:16 -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 Delete volume is empty (#4561) 2023-06-12 10:42:44 -07:00
command_volume_server_evacuate_test.go fix tests 2023-03-13 10:00:27 -07:00
command_volume_server_evacuate.go Revert "Revert "Merge branch 'master' of https://github.com/seaweedfs/seaweedfs"" 2023-09-25 09:35:16 -07: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 minor (#4723) 2023-08-01 02:34:59 -07:00
command_volume_tier_move.go clone volume locations in case they are changed 2023-07-06 00:32:58 -07:00
command_volume_tier_upload.go clone volume locations in case they are changed 2023-07-06 00:32:58 -07:00
command_volume_unmount.go fix compilation 2023-02-10 12:32:59 -08:00
command_volume_vacuum_disable.go add more help message, in case of misunderstanding (#4092) 2022-12-29 07:05:05 -08:00
command_volume_vacuum_enable.go add more help message, in case of misunderstanding (#4092) 2022-12-29 07:05:05 -08:00
command_volume_vacuum.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
commands.go Implement SRV lookups for filer (#4767) 2023-08-24 07:08:56 -07:00
shell_liner.go make help command in shell case insensitive 2023-11-13 06:06:45 -08:00
volume.list2.txt tests add parsing ec shard info 2022-10-09 22:47:55 -07:00
volume.list.txt Revert "a new test case" 2022-09-10 15:35:42 -07:00