storj/storagenode/piecestore
Cameron Ayer 1f5d5235a6 storagenode/{monitor,piecestore}: if free disk < expected available space, return free disk
We only sync free disk and available space, if necessary, on startup. If the
SNs disk fills up with non-storj data, we will not know about it when reporting
available space to the satellite.

Solution: whenever we check the node's capacity, double check free disk.
If free disk < than expected available space, return free disk.

Change-Id: I66265c16e03be45b6e1f5817c70df7eac0a76455
2020-07-22 15:08:37 +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 storagenode/{monitor,piecestore}: if free disk < expected available space, return free disk 2020-07-22 15:08:37 +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