aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorPatrick Schmidt <patrick.schmidt@innogames.com>2021-02-26 13:58:40 +0100
committerPatrick Schmidt <patrick.schmidt@innogames.com>2021-02-26 13:58:40 +0100
commit5f7b024891f0e113961e389d4f9449289db4c60a (patch)
treebfd0f44434b321e0a319dfab54d4192e5f0d2cf0 /weed/command/server.go
parentc276117fef7d871e09ca82f9d4e7c088ce670204 (diff)
downloadseaweedfs-5f7b024891f0e113961e389d4f9449289db4c60a.tar.xz
seaweedfs-5f7b024891f0e113961e389d4f9449289db4c60a.zip
Show the real disk usage in stats calls
Currently the file size of only one volume location is taken into account in the stats. This commit multiplies the disk usages by the amount of nodes holding a replica of the volume. This will yield the expected amount of disk usage and matches the total size calculations from before.
Diffstat (limited to 'weed/command/server.go')
0 files changed, 0 insertions, 0 deletions