storj/storagenode/piecestore
Cameron Ayer 0155c21b44 private/testplanet, storagenode/{monitor,pieces}: write storage dir verification file on run and verify on loop
On run, write the storage directory verification file.

Every time the node runs it will write the file even if it already exists.
The reason we do this is because if the verification file is missing, the SN
doesn't know whether it is an incorrect directory, or it simply hasn't written
the file yet, and we want to keep nodes running without needing operator intervention.

Once this change has been a part of the minimum version for several releases,
we will move the file creation from the run command to the setup
command. Run will only verify its existence.

Change-Id: Ib7d20e78e711c63817db0ab3036a50af0e8f49cb
2020-08-19 19:12:21 +00:00
..
usedserials all: fix comments 2020-07-16 19:13:14 +03:00
endpoint_test.go storagenode/piecestore: available storage check added in Upload 2020-06-01 16:55:22 +00:00
endpoint.go private/testplanet, storagenode/{monitor,pieces}: write storage dir verification file on run and verify on loop 2020-08-19 19:12:21 +00:00
verification_test.go storagenode/{monitor,piecestore}: if free disk < expected available space, return free disk 2020-07-22 15:08:37 +00:00
verification.go storagenode/piecestore: switch usedserials db for in-memory usedserials store 2020-05-28 12:52:52 -04:00