storj/storagenode/piecestore
Clement Sam b6026b9ff3 storagenode/piecestore: fix ingress graph skewed by larger signed orders
Storagenodes are currently getting larger signed orders due to
a performance optimization in uplink, which now messes with the
ingress graph because the storagenode plots the graph using
the order amount instead of actually uploaded bytes, which this
change fixes.

The egress graph might have a similar issue if the order amount
is larger than the actually downloaded bytes but since we pay
for orders, whether fulfilled or unfulfilled, we continue using
the order amount for the egress graph.

Resolves https://github.com/storj/storj/issues/5853

Change-Id: I2af7ee3ff249801ce07714bba055370ebd597c6e
2023-06-20 13:28:08 +00:00
..
usedserials all: fix error naming 2021-04-29 15:38:21 +03:00
doc.go storagenode: add doc.go files for sno packages 2021-09-29 08:24:56 +00:00
endpoint_test.go storagenode/piecestore: fix ingress graph skewed by larger signed orders 2023-06-20 13:28:08 +00:00
endpoint.go storagenode/piecestore: fix ingress graph skewed by larger signed orders 2023-06-20 13:28:08 +00:00
verification_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
verification.go storagenode/piecestore: return node certificate chain at upload conclusion 2023-02-01 01:49:50 +00:00