aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/config/translogserver.def
blob: bc693b903f02c88fd26cf8e019d3fae57649f279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=searchlib

## Port number to use for listening.
listenport int default=13700 restart

## Max file size (50M)
filesizemax int default=50000000

## Server name to identify server.
servername string default="tls" restart

## Base directory. The default is not used as it is decided by the model.
basedir string default="tmp" restart

## Use fsync after each commit.
## If not the below interval is used.
usefsync bool default=true

##Number of threads available for visiting/subscription.
maxthreads int default=0 restart

##Default crc method used
crcmethod enum {ccitt_crc32, xxh64} default=xxh64

## Control compression type.
compression.type enum {NONE, NONE_MULTI, LZ4, ZSTD} default=ZSTD

## Control compression level
## LZ4 has normal range 1..9 while ZSTD has range 1..19
## 9 is a reasonable default for both
compression.level int default=3

## How large a chunk can grow in memory before beeing flushed
chunk.sizelimit int default = 256000  # 256k