SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
cleaning variables
chrislu50dc2fe96b2d
diff --git a/weed/shell/command_fs_verify.go b/weed/shell/command_fs_verify.goindex e2204c1919..e59c43fd22 100644--- a/weed/shell/command_fs_verify.go+++ b/weed/shell/command_fs_verify.go@@ -69,6 +69,12 @@ func (c *commandFsVerify) Do(args []string, commandEnv *CommandEnv, writer io.Wrc.volumeIds = make(map[uint32][]pb.ServerAddress)c.waitChan = make(map[string]chan struct{})c.volumeServers = []pb.ServerAddress{}+ defer func() {+ c.modifyTimeAgoAtSec = 0+ c.volumeIds = nil+ c.waitChan = nil+ c.volumeServers = nil+ }()if err := c.collectVolumeIds(); err != nil {return parseErrdiff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.goindex 94c457689e..bf0c192ec9 100644--- a/weed/shell/command_volume_server_evacuate.go+++ b/weed/shell/command_volume_server_evacuate.go@@ -88,6 +88,9 @@ func (c *commandVolumeServerEvacuate) volumeServerEvacuate(commandEnv *CommandEnif err != nil {return err}+ defer func() {+ c.topologyInfo = nil+ }()if err := c.evacuateNormalVolumes(commandEnv, volumeServer, skipNonMoveable, applyChange, writer); err != nil {return err