forked from thinkaurelius/titan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigref.txt
42 lines (30 loc) · 2.48 KB
/
configref.txt
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
36
37
38
39
40
41
42
[[titan-config-ref]]
Configuration Reference
-----------------------
This section is the authoritative reference for Titan configuration options. It includes all options for storage and indexing backends that are part of the official Titan distribution.
The table is automatically generated by traversing the keys and namespaces in Titan's internal configuration management API. Hence, the configuration options as listed on this page are synchronized with a particular Titan release. If a reference to a configuration option in other parts of this documentation is in conflict with its representation on this page, assume the version listed here to be correct.
[[titan-cfg-mutability]]
Mutability Levels
~~~~~~~~~~~~~~~~~
Each configuration option has a certain mutability level that governs whether and how it can be modified after the database is opened for the first time. The following listing describes the mutability levels.
FIXED::
Once the database has been opened, these configuration options cannot be changed for the entire life of the database
GLOBAL_OFFLINE::
These options can only be changed for the entire database cluster at once when all instances are shut down
GLOBAL::
These options can only be changed globally across the entire database cluster
MASKABLE::
These options are global but can be overwritten by a local configuration file
LOCAL::
These options can only be provided through a local configuration file
Refer to <<configuration-global>> for information on how to change non-local configuration options.
[[titan-cfg-umbrella-ns]]
Umbrella Namespace
~~~~~~~~~~~~~~~~~~
Namespaces marked with an asterisk are *umbrella namespaces* which means that they can accommodate an arbitrary number of sub-namespaces - each of which uniquely identified by its name. The configuration options listed under an umbrella namespace apply only to those sub-namespaces. Umbrella namespaces are used to configure multiple system components that are of the same type and hence have the same configuration options.
For example, the `log` namespace is an umbrella namespace because Titan can interface with multiple logging backends, such as the `user` log, each of which has the same core set of configuration options. To configure the send batch size of the `user` log to 100 transaction changes, one would have to set the following option in the configuration
[source, text]
log.user.send-batch-size = 100
Configuration Namespaces and Options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include::listings/titan_cfg.txt[]