What is trash? I’ve learnt that it empties automatically every 7 days, but was wondering why it is there if it can automatically be deleted?
Stob
January 1, 2023, 3:30pm
2
Your question has been answered many times before…
Trash data remains in trash folder for 7 days, after which that space is freed up.
Here’s a few other posts where this was asked/discussed:
So short story, short: No action is required by you with regards to trash folder. Pieces that have been there past the “retention period” will be automatically removed and disk space becomes available once again for new uploads.
2 Likes
That’s not my question, I’m just asking what is trash. I’m just trying to understand why it doesn’t get deleted immediately.
Stob
January 1, 2023, 5:30pm
4
If you click the link I posted. The first linked thread within answers your question…
Hi SNOs,
The next software upgrade includes a change that will by default send piece deletions to the trash rather than immediately removing them from disk. This is a temporary precaution to avoid failing audits for pieces that were deleted between satellite database backups if we have to restore from a previous backup. Each node still has the option to turn this configuration off, but we highly recommend you keep it on. It is very unlikely that we will have to restore from a satellite database backup (we have never had to restore from backup thus far), but in the event we do, this will be the only way for you to avoid audit failures and potential disqualification.
1 Like
I did check over that post, but I didn’t see that one. PS: Searching this forum for “what is trash” comes up with nothing useful.
Stob
January 1, 2023, 5:46pm
6
I don’t have a list of all the answers, all I did was use the forum search
https://forum.storj.io/search?q=Trash%20immediate%20
1 Like
Well, it didn’t come up when I searched for it earlier.
hatred
February 22, 2023, 10:27pm
8
Some said that trash appears when your node lose “the race” and you have uploaded but not accepted files.
hatred
February 23, 2023, 7:40am
10
Okay, that’s clear. But is it true that garbage is generated when downloading a file when the node “loses the race”?
Alexey
February 24, 2023, 4:18am
11
yes, it could, if node could get the whole piece right before canceling. If it was in a temporary state, it will be deleted immediately upon cancellation.