Skip to content

Commit dd67e59

Browse files
committed
add documentation for configs
1 parent f4b6916 commit dd67e59

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

website/docs/_configs/_partial_config.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
| `kv.rocksdb.block.pin-l0-filter-and-index-blocks-in-cache` | `false` | Boolean | If true and cache_index_and_filter_blocks is enabled, L0 index and filter blocks will be pinned in block cache and will not be evicted. This helps avoid performance degradation due to cache misses on L0 index/filter blocks. The default value is `false`. |
169169
| `kv.rocksdb.block.pin-top-level-index-and-filter` | `false` | Boolean | If true, the top-level index of partitioned index/filter blocks will be pinned in block cache and will not be evicted. The default value is `false`. |
170170
| `kv.recover.log-record-batch.max-size` | `16 mb` | MemorySize | The max fetch size for fetching log to apply to kv during recovering kv. |
171+
| `kv.scanner.ttl` | `10 min` | Duration | The time that the tablet server will wait without receiving any scan request from a client before expiring the related status. The default value is 10 minutes. |
172+
| `kv.scanner.expiration-interval` | `30 s` | Duration | How often the TTL reaper runs to close idle scanner sessions. The default value is 30 seconds. |
173+
| `kv.scanner.max-per-bucket` | `8` | Integer | Maximum number of concurrent scanner sessions per bucket. Exceeding this limit returns TOO_MANY_SCANNERS. The default value is 8. |
174+
| `kv.scanner.max-per-server` | `200` | Integer | Maximum number of concurrent scanner sessions per tablet server. Exceeding this limit returns TOO_MANY_SCANNERS. The default value is 200. |
171175

172176
## Lake Configurations
173177

website/docs/maintenance/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ during the Fluss cluster working.
171171
| kv.rocksdb.bloom-filter.block-based-mode | Boolean | false | If true, RocksDB will use block-based filter instead of full filter, this only take effect when bloom filter is used. The default value is `false`. |
172172
| kv.rocksdb.shared-rate-limiter-bytes-per-sec | MemorySize | Long.MAX_VALUE | The bytes per second rate limit for RocksDB flush and compaction operations shared across all RocksDB instances on the TabletServer. The rate limiter is always enabled. The default value is Long.MAX_VALUE (effectively unlimited). Set to a lower value (e.g., 100MB) to limit the rate. This configuration can be updated dynamically without server restart. See [Updating Configs](operations/updating-configs.md) for more details. |
173173
| kv.recover.log-record-batch.max-size | MemorySize | 16mb | The max fetch size for fetching log to apply to kv during recovering kv. |
174+
| kv.scanner.ttl | Duration | 10min | The time-to-live for an idle KV scanner session on the server. A scanner that has not received a request within this duration will be automatically expired and its resources released. The default value is 10 minutes. |
175+
| kv.scanner.expiration-interval | Duration | 30s | The interval at which the server checks for and removes expired KV scanner sessions. The default value is 30 seconds. |
176+
| kv.scanner.max-per-bucket | Integer | 8 | The maximum number of concurrent KV scanner sessions allowed per bucket. New scan requests that exceed this limit will be rejected with an error. The default value is 8. |
177+
| kv.scanner.max-per-server | Integer | 200 | The maximum total number of concurrent KV scanner sessions allowed across all buckets on a single tablet server. New scan requests that exceed this limit will be rejected with an error. The default value is 200. |
174178

175179
## Metrics
176180

0 commit comments

Comments
 (0)