diff options
| author | chrislu <chris.lu@gmail.com> | 2023-10-22 12:59:34 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-10-22 12:59:34 -0700 |
| commit | 2bc05f70e763bdf0a1e1c03ca0a5345ab8a3ddb4 (patch) | |
| tree | a9f7ec9ff2201c7e13e98328a9c3bbe6c70127d9 /weed/shell/command_ec_encode.go | |
| parent | 612fd7206ef9e46b47d789d5df7859f1b472b826 (diff) | |
| download | seaweedfs-2bc05f70e763bdf0a1e1c03ca0a5345ab8a3ddb4.tar.xz seaweedfs-2bc05f70e763bdf0a1e1c03ca0a5345ab8a3ddb4.zip | |
log full percentage
Diffstat (limited to 'weed/shell/command_ec_encode.go')
| -rw-r--r-- | weed/shell/command_ec_encode.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_ec_encode.go b/weed/shell/command_ec_encode.go index 8864265a7..c2b2074e4 100644 --- a/weed/shell/command_ec_encode.go +++ b/weed/shell/command_ec_encode.go @@ -298,7 +298,7 @@ func collectVolumeIdsForEcEncode(commandEnv *CommandEnv, selectedCollection stri quietSeconds := int64(quietPeriod / time.Second) nowUnixSeconds := time.Now().Unix() - fmt.Printf("collect volumes quiet for: %d seconds\n", quietSeconds) + fmt.Printf("collect volumes quiet for: %d seconds and %.1f%% full\n", quietSeconds, fullPercentage) vidMap := make(map[uint32]bool) eachDataNode(topologyInfo, func(dc string, rack RackId, dn *master_pb.DataNodeInfo) { |
