# Average disk space dropped after last upgrade

**URL:** <https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239>\
**Category:** FAQ\
**Tags:** used-space\
**Created:** [February 9, 2025, 6:48am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239 "2025-02-09T06:48:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EddieA](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/eddiea/32/7822_2.png) [@EddieA](https://forum.storj.io/u/EddieA)\
**Post date:** [February 9, 2025, 6:48am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/1 "2025-02-09T06:48:49Z")

</div>

A couple of days ago both my nodes were updated to v1.121.2. Now they are both showing drastically reduced Average Disk Space:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/7/7/77db061111db1e7b90cfaa3c7299005f8dbae8b3.png)

 ![image](https://storj-s3.bcdn.literatehosting.net/original/3X/4/7/479d32e3752e96f2cb762f02e4a8345766fc1703.png)

They’re both fairly new nodes, but I don’t think that should factor into this.

---

<div class="post-metadata">

**Author:** ![Roberto](https://storj.bcdn.literatehosting.com/letter_avatar/roberto/32/6_449c533f586939b6e5f246632a46421f.png) [@Roberto](https://forum.storj.io/u/Roberto)\
**Post date:** [February 9, 2025, 7:49am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/2 "2025-02-09T07:49:28Z")

</div>

it’s just a display error on the node, payment is not affected

> [@Average usage reporting lower than disk space used?](https://forum.storj.io/t/average-usage-reporting-lower-than-disk-space-used/28881/6):
>
> No, this is a usual gap problem because the node’s code treating NULLs as 0, instead of ignoring and do not counting this day. See

---

<div class="post-metadata">

**Author:** ![Dhend](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/dhend/32/1127_2.png) [@Dhend](https://forum.storj.io/u/Dhend)\
**Post date:** [February 10, 2025, 7:46am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/3 "2025-02-10T07:46:05Z")

</div>

Can think of a post of almost 8 months ago or so. They will backfill the data at the end.  
You would think such a bug in the UI would already be solved being like 8 versions further in the future 😅

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 16, 2025, 8:39am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/4 "2025-02-16T08:39:12Z")

</div>

Without the help from the Community I feel that it will never being fixed…

---

<div class="post-metadata">

**Author:** ![PieceKeeper](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/piecekeeper/32/1125_2.png) [@PieceKeeper](https://forum.storj.io/u/PieceKeeper)\
**Post date:** [February 16, 2025, 8:51am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/5 "2025-02-16T08:51:45Z")

</div>

Which kind of help is needed?

---

<div class="post-metadata">

**Author:** ![Dhend](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/dhend/32/1127_2.png) [@Dhend](https://forum.storj.io/u/Dhend)\
**Post date:** [February 16, 2025, 2:48pm UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/6 "2025-02-16T14:48:47Z")

</div>

What would be required to note this problem? I have seen this issue as something common on the forum. It isnt a rare occurrence.  
i’m happy to provide more information.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 17, 2025, 3:52am UTC](https://forum.storj.io/t/average-disk-space-dropped-after-last-upgrade/29239/7 "2025-02-17T03:52:49Z")

</div>

Nothing. It’s a known limitation of the storagenode code. Since the range loop may finish out of the time window or do not finish at all (e.g. crashed), the satellites may send not full report about usage to the nodes or do not send it at all. The node’s code doesn’t consider that fact (because when it was implemented there was no such a problem, satellites managed much less data that time) and treats NULL as 0 and calculates an average including empty or not fully reported data points, thus you see gaps.

> [@PieceKeeper](#):
>
> Which kind of help is needed?

Prepare a pull request to solve this issue:

> <https://github.com/storj/storj/issues/7009>
>
> In case ranged loop don't run tally for one or more days storage nodes displays …gaps in usage (see SN screenshot). After investigation it looks that this will not affect billing in a substantial way as when new tally will be calculated it will take into account whole missing period and usage in TB/h will be higher (see DB entries from \`accounting\_rollups\` tables for single node)
> 
> We need to fix how nodes are displaying usage to avoid confusion and complains from SNOs. I think we have two options:
> \* calculate average usage stats fully on satellite side. with that we should calculate usage for missing days from first available tall after those missing days. in this case we should return final values of usage for each day in a month
> \* fix displaying on storage node side by ignoring gaps with 0 usage and just display those days that we have tallies for. alternatively we could try to calculate gaps in the same way as proposed for satellite side but not sure if that make sense on client side.
> \* maybe there is another option I didn't think about  
> 
> !\[Image\](https://github.com/storj/storj/assets/7313031/520f42c0-7369-430d-a52c-60913806de5e)
> !\[Image\](https://github.com/storj/storj/assets/7313031/c49c93c8-4305-4253-bc92-c6bc898211cf)
