1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2025-10-26 03:22:44 +01:00
seaweedfs/weed/shell
Chris Lu 6a8c53bc44
Filer: batch deletion operations to return individual error results (#7382)
* batch deletion operations to return individual error results

Modify batch deletion operations to return individual error results instead of one aggregated error, enabling better tracking of which specific files failed to delete (helping reduce orphan file issues).

* Simplified logging logic

* Optimized nested loop

* handles the edge case where the RPC succeeds but connection cleanup fails

* simplify

* simplify

* ignore 'not found' errors here
2025-10-25 00:09:18 -07:00
..
command.go refactor 2024-09-29 10:38:22 -07:00
command_cluster_check.go [shell] use constant for hdd of type (#6337) 2024-12-10 08:43:59 -08:00
command_cluster_ps.go refactor 2024-09-29 10:38:22 -07:00
command_cluster_raft_add.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_cluster_raft_ps.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_cluster_raft_remove.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_collection_delete.go refactor 2024-09-29 10:38:22 -07:00
command_collection_list.go refactor 2024-09-29 10:38:22 -07:00
command_ec_balance.go Nit: unify the default --maxParallelization value for weed shell commands supporting this option (#6788) 2025-05-13 07:59:26 -07:00
command_ec_common.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_ec_common_test.go ec.encode: Fix resolution of target collections. (#6585) 2025-02-28 11:42:19 -08:00
command_ec_decode.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_ec_encode.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_ec_rebuild.go Unify the re-balancing logic for ec.encode with ec.balance. (#6339) 2024-12-10 13:30:13 -08:00
command_ec_test.go Delete legacy balancing code for ec.encode. (#6344) 2024-12-12 07:42:03 -08:00
command_fs_cat.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_cd.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_configure.go chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 (#6679) 2025-03-31 21:42:54 -07:00
command_fs_du.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_log.go added context to filer_client method calls (#6808) 2025-05-22 09:46:49 -07:00
command_fs_ls.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_merge_volumes.go Add context with request (#6824) 2025-05-28 11:34:02 -07:00
command_fs_meta_cat.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_meta_change_volume_id.go added context to filer_client method calls (#6808) 2025-05-22 09:46:49 -07:00
command_fs_meta_load.go added context to filer_client method calls (#6808) 2025-05-22 09:46:49 -07:00
command_fs_meta_notify.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_meta_save.go refactor 2024-09-29 10:38:22 -07:00
command_fs_mkdir.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_mv.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_pwd.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_rm.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_tree.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
command_fs_verify.go Add context with request (#6824) 2025-05-28 11:34:02 -07:00
command_lock_unlock.go refactor 2024-09-29 10:38:22 -07:00
command_mount_configure.go Clean up logs and deprecated functions (#7339) 2025-10-17 22:11:50 -07:00
command_mq_balance.go refactor 2024-09-29 10:38:22 -07:00
command_mq_topic_compact.go Add Kafka Gateway (#7231) 2025-10-13 18:05:17 -07:00
command_mq_topic_configure.go Add message queue agent (#6463) 2025-01-20 22:19:27 -08:00
command_mq_topic_desc.go Add message queue agent (#6463) 2025-01-20 22:19:27 -08:00
command_mq_topic_list.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_mq_topic_truncate.go Message Queue: Add sql querying (#7185) 2025-09-09 01:01:03 -07:00
command_remote_cache.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_remote_configure.go added context to filer_client method calls (#6808) 2025-05-22 09:46:49 -07:00
command_remote_meta_sync.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_remote_mount.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_remote_mount_buckets.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_remote_uncache.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_remote_unmount.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_bucket_create.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_bucket_delete.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_bucket_list.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_bucket_quota.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_bucket_quota_check.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_circuitbreaker.go chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 (#6679) 2025-03-31 21:42:54 -07:00
command_s3_circuitbreaker_test.go refactor(shell): readability improvements (#3704) 2022-09-16 02:43:49 -07:00
command_s3_clean_uploads.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_s3_configure.go chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 (#6679) 2025-03-31 21:42:54 -07:00
command_volume_balance.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_volume_balance_test.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_volume_check_disk.go Filer: batch deletion operations to return individual error results (#7382) 2025-10-25 00:09:18 -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_configure_replication.go convert error fromating to %w everywhere (#6995) 2025-07-16 23:39:27 -07:00
command_volume_copy.go [shell] volume copy add param noLock (#6871) 2025-06-16 07:39:19 -07:00
command_volume_delete.go refactor 2024-09-29 10:38:22 -07:00
command_volume_delete_empty.go Unify usage of shell.EcNode.dc as DataCenterId. (#6258) 2024-11-19 06:33:18 -08:00
command_volume_fix_replication.go [weed] update volume.fix.replication description (#7340) 2025-10-21 12:38:40 -07:00
command_volume_fix_replication_test.go Fix/copy before delete replication (#6064) 2024-09-26 08:34:13 -07:00
command_volume_fsck.go Filer: batch deletion operations to return individual error results (#7382) 2025-10-25 00:09:18 -07:00
command_volume_grow.go refactor 2024-09-29 10:38:22 -07:00
command_volume_list.go Admin UI: include ec shard sizes into volume server info (#7071) 2025-08-02 02:16:49 -07:00
command_volume_list_test.go Improve EC shards rebalancing logic across racks (#6270) 2024-11-21 08:46:24 -08:00
command_volume_mark.go refactor 2024-09-29 10:38:22 -07:00
command_volume_mount.go refactor 2024-09-29 10:38:22 -07:00
command_volume_move.go Parallelize volume replica operations within ec.encode. (#6374) 2024-12-18 11:59:48 -08:00
command_volume_server_evacuate.go "golang.org/x/exp/slices" => "slices" and go fmt 2024-12-19 19:25:06 -08:00
command_volume_server_evacuate_test.go fix tests 2023-03-13 10:00:27 -07:00
command_volume_server_leave.go refactor 2024-09-29 10:38:22 -07:00
command_volume_tier_download.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_volume_tier_move.go Unify usage of shell.EcNode.dc as DataCenterId. (#6258) 2024-11-19 06:33:18 -08:00
command_volume_tier_upload.go Shell: support regular expression for collection selection (#7158) 2025-08-23 11:04:24 -07:00
command_volume_unmount.go refactor 2024-09-29 10:38:22 -07:00
command_volume_vacuum.go refactor 2024-09-29 10:38:22 -07:00
command_volume_vacuum_disable.go refactor 2024-09-29 10:38:22 -07:00
command_volume_vacuum_enable.go refactor 2024-09-29 10:38:22 -07:00
commands.go Shell: Added a helper function isHelpRequest() (#7380) 2025-10-24 20:21:35 -07:00
common.go Nit: unify the default --maxParallelization value for weed shell commands supporting this option (#6788) 2025-05-13 07:59:26 -07:00
shell_liner.go Store full shell command in shell history (#7378) 2025-10-24 19:02:44 -07:00
volume.ecshards.txt Improve EC shards rebalancing logic across racks (#6270) 2024-11-21 08:46:24 -08:00
volume.list.txt Revert "a new test case" 2022-09-10 15:35:42 -07:00
volume.list2.txt tests add parsing ec shard info 2022-10-09 22:47:55 -07:00