From b6e82f59ae5e2a139aadab62d7dfcf0834d33b6d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 19 Sep 2020 12:19:43 -0700 Subject: [PATCH] Updated Master Server API (markdown) --- Master-Server-API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Master-Server-API.md b/Master-Server-API.md index f676942..58b03ec 100644 --- a/Master-Server-API.md +++ b/Master-Server-API.md @@ -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 |