storj / storj

Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.
https://storj.io
GNU Affero General Public License v3.0
3k stars 402 forks source link

Piecescan and GC don't have log entries with lazy mode off #6958

Closed GrannyCryptomaster closed 5 months ago

GrannyCryptomaster commented 6 months ago

Storagenode ver. 1.102.3, Docker/Linux. In Linux/Docker, after disabling lazy file walker, the piece-scan-on-startup dosen’t get any entries in the log, not for start, not for finish. Maybe it’s on Windows too. Also, the Garbage-collector is missing the log entries in the same situation. With lazy off, you will get only these logs about walkers: -pieces:trash -collector -retain. I think this is a bug, because the piecescan and GC should have log entries no matter the state of the lazy mode.

storjrobot commented 6 months ago

This issue has been mentioned on Storj Community Forum (official). There might be relevant details there:

https://forum.storj.io/t/after-disabling-lazy-mode-the-filewalkers-didnt-print-anything-to-the-logs/25757/19

storj-gerrit[bot] commented 5 months ago

Change storagenode/pieces: fix log displaying when lazy file walker is disabled mentions this issue.