storj/private/multinodepb
Clement Sam 7ac2031cac web/multinode: fix wrong free disk space in allocation on dashboard
There are many case where the keywords `free` and `available`
are confused in their usage.

For most cases, `free` space is the amount of free space left
on the whole disk, and not just in allocation while
`available` space is the amount of free space left in the
allocated disk space.

What the user/sno wants to see is not the free space but the
available space. To the SNO, free space is the free space
left in the allocated disk space.

Because of this confusion, the multinode dashboard displays
the `free` disk space instead of the free space in the
allocated disk space https://github.com/storj/storj/issues/5248
While the storagenode dashboard shows the correct free space
in the allocation.

This change fixes the wrong free disk space. I also added a
few comments to make a distinction between the `free`
and `available` fields in the `DiskSpace*` structs.

Change-Id: I11b372ca53a5ac05dc3f79834c18f85ebec11855
2023-07-05 11:24:24 +00:00
..
doc.go multinode/console: list node infos 2021-01-05 14:49:11 +00:00
gen.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
gogo.proto multinode/console: held amount summary 2021-05-28 20:05:16 +03:00
multinode_drpc.pb.go private/multinodepb: return at_rest_total_bytes and summary_bytes for StorageUsage endpoint 2022-12-06 12:27:34 +00:00
multinode.pb.go {storagenode,web/multinode}: fix storage usage db/cache retrieval queries 2022-12-09 11:07:33 +00:00
multinode.proto web/multinode: fix wrong free disk space in allocation on dashboard 2023-07-05 11:24:24 +00:00
types.go multinode/console: list node infos 2021-01-05 14:49:11 +00:00