diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-09 22:29:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-09 22:29:02 -0700 |
| commit | 0871d2cff091e43190065bd17dba624cf6da1d6d (patch) | |
| tree | 3979790d89967d24e804f8e19c43ba3f729e1212 /weed/server/master_server_handlers_admin.go | |
| parent | 1f8fc4b5edfeb9838345de146beb1ec033231dd3 (diff) | |
| download | seaweedfs-0871d2cff091e43190065bd17dba624cf6da1d6d.tar.xz seaweedfs-0871d2cff091e43190065bd17dba624cf6da1d6d.zip | |
volume: fix memory leak during compaction
fix https://github.com/chrislusf/seaweedfs/issues/1222
Diffstat (limited to 'weed/server/master_server_handlers_admin.go')
| -rw-r--r-- | weed/server/master_server_handlers_admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/master_server_handlers_admin.go b/weed/server/master_server_handlers_admin.go index 2965a4863..5d0986f97 100644 --- a/weed/server/master_server_handlers_admin.go +++ b/weed/server/master_server_handlers_admin.go @@ -61,7 +61,7 @@ func (ms *MasterServer) volumeVacuumHandler(w http.ResponseWriter, r *http.Reque return } } - glog.Infoln("garbageThreshold =", gcThreshold) + // glog.Infoln("garbageThreshold =", gcThreshold) ms.Topo.Vacuum(ms.grpcDialOption, gcThreshold, ms.preallocateSize) ms.dirStatusHandler(w, r) } |
