mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Master Server API (markdown)
parent
c71f796a9e
commit
4008dbf78b
|
@ -66,6 +66,8 @@ curl "http://localhost:9333/dir/lookup?volumeId=3&collection=turbo"
|
|||
|
||||
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.
|
||||
|
||||
Currently the garbage collection is hard coded in master to run every 15 minutes.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:9333/vol/vacuum"
|
||||
curl "http://localhost:9333/vol/vacuum?garbageThreshold=0.4"
|
||||
|
|
Loading…
Reference in a new issue