Updated Master Server API (markdown)

Chris Lu 2020-09-19 10:37:09 -07:00
parent 33141d295b
commit 3f961a1e50

@ -41,7 +41,7 @@ curl "http://localhost:9333/dir/lookup?volumeId=3&collection=turbo"
### Force garbage collection
If your system has many deletions, the deleted file's disk space will not be synchronously re-claimed. There is a background job to check volume disk usage. If empty space is more than the threshold, default to 0.3, the vacuum job will make the volume readonly, create a new volume with only existing files, and switch on the new volume. If you are impatient or doing some testing, vacuum the unused spaces this way.
If your system has many deletions, the deleted file's disk space will not be synchronously re-claimed. There is a background job to check volume disk usage. If empty space is more than the threshold, default to 0.3 which is 30%, the vacuum job will make the volume readonly, create a new volume with only existing files, and switch on the new volume. If you are impatient or doing some testing, vacuum the unused spaces this way.
```bash
curl "http://localhost:9333/vol/vacuum"