mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-20 13:30:46 +02:00
Updated Master Server API (markdown)
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user