seaweedfs/weed/shell
Konstantin Lebedev 25535e9c36
Delete volume is empty (#4561)
* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559

* fix IsEmpty

* fix test

---------

Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-06-12 10:42:44 -07: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 grpc connection to filer add sw-client-id header 2023-01-20 01:48:12 -08: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 refactor(shell): Decending -> Descending (#3675) 2022-09-14 12:06:48 -07:00
command_ec_common.go refactor to change capacity data type 2022-10-09 18:58:10 -07:00
command_ec_decode.go refactor(command_ec_decode): exisitngEcIndexBits -> `existingEcInde… (#3674) 2022-09-14 12:02:33 -07:00
command_ec_encode_test.go refactor(shell): Decending -> Descending (#3675) 2022-09-14 12:06:48 -07:00
command_ec_encode.go Delete volume is empty (#4561) 2023-06-12 10:42:44 -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 adjusted regex to be from 1 to 255 for the value (#4377) 2023-04-10 12:24:38 -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_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_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 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 refactor(shell): readability improvements (#3704) 2022-09-16 02:43:49 -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 fix shell volume.balance bug (#4447) 2023-05-04 07:35:37 -07:00
command_volume_check_disk.go [volume.chek.disk] sync of deletions the fix (#3923) 2022-10-30 20:32:46 -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 Delete volume is empty (#4561) 2023-06-12 10:42:44 -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 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_fix_replication.go Delete volume is empty (#4561) 2023-06-12 10:42:44 -07: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 volume.list show volumes only from the specified dc/rack/dn (#4024) 2022-11-30 06:30:55 -08: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 cleaning variables 2023-03-19 18:48:40 -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 move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command_volume_tier_move.go Delete volume is empty (#4561) 2023-06-12 10:42:44 -07:00
command_volume_tier_upload.go Delete volume is empty (#4561) 2023-06-12 10:42:44 -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 Use filerGroup for s3 buckets collection prefix (#4465) 2023-05-16 09:39:43 -07:00
shell_liner.go refactor and fix strings.Split 2022-08-07 01:34:32 -07: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