# When will "Uncollected Garbage" be deleted?

**URL:** <https://forum.storj.io/t/when-will-uncollected-garbage-be-deleted/27327>\
**Category:** troubleshooting\
**Tags:** ttl, garbage-collector\
**Created:** [July 28, 2024, 8:32pm UTC](https://forum.storj.io/t/when-will-uncollected-garbage-be-deleted/27327 "2024-07-28T20:32:08Z")\
**Posts on this page:** 1\
**Showing post:** 145

<div class="post-metadata">

**Author:** ![Roxor](https://storj.bcdn.literatehosting.com/letter_avatar/roxor/32/6_449c533f586939b6e5f246632a46421f.png) [@Roxor](https://forum.storj.io/u/Roxor)\
**Post date:** [August 5, 2024, 2:29pm UTC](https://forum.storj.io/t/when-will-uncollected-garbage-be-deleted/27327/145 "2024-08-05T14:29:57Z")

</div>

> [@littleskunk](#):
>
> I would bet it is still happening and we still need to find the reason for it.

The same time the lost data was piling up, people were reporting **floods** of “unable to delete piece” [log entries](https://forum.storj.io/t/1-107-3-error-collector-unable-to-delete-pieces/26930). (and from the stack track in that top example I see “\*(_pieceExpirationDB).GetExpired:71\n\tstorj.io/storj/storagenode/pieces_” which sounds like it could be the TTL cleanup logic.

If anything was wrong with the TTL DB entries (like a path/piece was off by one character or something)… could the cleanup logic just fail to delete the piece… but delete the DB entry anyways… and thus forget about the TTL piece in the blobs folder?

Even if it’s fixed now… if it was b0rked in 105 or 108 or something then a lot of lost TTL data would still be hanging around.

---

_[View the full topic](https://forum.storj.io/t/when-will-uncollected-garbage-be-deleted/27327)._
