storj/private
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
..
api satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
apigen private/apigen: Support basic doc generation 2023-06-13 08:48:06 +00:00
blockchain private/blockchain: address checksum hex 2022-11-08 18:19:07 +00:00
compensation multinode/console: storage usage and total storage usage 2021-06-10 16:01:41 +00:00
crashreportpb all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
cui all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
currency private/currency: add strictcsv support to microunit 2020-03-31 14:57:04 -06:00
date Fix monthly earning estimation (#4282) 2021-11-17 18:26:21 -05:00
debugging all: fix dots 2020-07-16 14:58:28 +00:00
kvstore private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
lifecycle satellite: more detailed goroutine labels 2022-05-11 17:50:55 +00:00
migrate go.mod: bump to pgx/v5 2023-06-14 18:32:54 +03:00
multinodeauth {storagenode,multinode/nodes}: use multinodeauth.Secret instead of []byte for APISecret 2022-08-23 11:04:04 +00:00
multinodepb web/multinode: fix wrong free disk space in allocation on dashboard 2023-07-05 11:24:24 +00:00
nodeoperator all: fix error naming 2021-04-29 15:38:21 +03:00
post all: fix nolint directives 2022-10-11 18:31:20 +00:00
prompt private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
revocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
server storagenode: report fastopen support 2023-06-05 15:20:13 +00:00
testmonkit all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
testplanet satellite/overlay: refactor Reliable to be used with repair checker 2023-07-05 10:56:31 +02:00
testredis satellite/accounting/live: replace address parsing with redis util 2023-04-05 13:20:11 +00:00
testrevocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
teststorj all: fix dots 2020-07-16 14:58:28 +00:00
testuplink all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
web private/web,satellite/console/.../consoleapi: serve rate limiting errors as JSON 2022-11-23 17:56:07 +00:00