mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Master Server API (markdown)
parent
b9d0ae1e03
commit
b6e82f59ae
|
@ -72,7 +72,7 @@ curl "http://localhost:9333/vol/vacuum?garbageThreshold=0.4"
|
|||
```
|
||||
| Parameter | Description | Default |
|
||||
| ---- | -- | -- |
|
||||
| garbageThreshold | minimum garbage ratio | 0.3, which is 30% |
|
||||
| garbageThreshold | minimum garbage ratio | 0.3, which is 30% from master `-garbageThreshold` option|
|
||||
|
||||
The garbageThreshold=0.4 is optional, and will not change the default threshold. You can start volume master with a different default garbageThreshold.
|
||||
|
||||
|
@ -103,7 +103,7 @@ curl "http://localhost:9333/vol/grow?ttl=5d&count=4"
|
|||
| dataNode | preferred volume server, e.g. 127.0.0.1:8080 | empty |
|
||||
| replication | replica placement strategy | master defaultReplicaPlacement|
|
||||
| ttl | file expiration time limit, example: 3m for 3 minutes. units: m-minute, h-hour, d-day, w-week, M-month, y-year | never expire|
|
||||
| preallocate | Pre-allocate this number of bytes on disk for new volumes. | master preallocateSize |
|
||||
| preallocate | Pre-allocate this number of bytes on disk for new volumes. | master `-volumePreallocate` option |
|
||||
| memoryMapMaxSizeMb | Only implemented for windows. Use memory mapped files with specified size for new volumes. | 0 |
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue