summaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/bucketdb/stor-bucket-init.def
blob: 3517afabd449979947077fdeec173b63108ddcbe (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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.content.core

# The maximum number of alien files found during init that should be stored in
# memory so they can be viewed on status page.
max_alien_files_logged int default=10 restart

# The maximum number of pending info reads to each disk during initialization.
max_pending_info_reads_per_disk int default=20 restart

# The minimum number of pending info reads to each disk during initialization.
# When pending falls below this, we will resume database scan to add more
# pending up to the maximum setting.
min_pending_info_reads_per_disk int default=4 restart

# The priority of the read bucket info requests the initializer sends to the
# persistence layer. Currently chosen so that such operations will not pre-
# empt any regular external load or ideal state operations, but they will block
# very low priority background operations such as periodic GC (default pri of
# 200). A tradeoff must be made between fast initialization and the availability
# of data on the initializing node.
info_read_priority int default=185 restart

# The priority of the list bucket requests the initializer sends to the
# persistence layer. Should always be lower than the read priority to ensure
# starting to read wont make listing wait. However, listing is currently pretty
# much required to be done before starting anyhow, so this option does little
# unless your directories are not hardware independent.
list_priority int default=100 restart

# Whether the initializer should complete listing before starting to read
# bucket information. Shouldnt matter much performance wise so always set to
# true as it is now. Setting it false, disks done listing first will start
# to process info requests a bit earlier than otherwise.
complete_list_before_starting_read bool default=false restart