-
Notifications
You must be signed in to change notification settings - Fork 3
Bob config
Vladimir Stepanenko edited this page Jun 25, 2021
·
3 revisions
This page provides a specification of the node configuration file. An example configuration can be found here.
- log_config
- name
- quorum
- operation_timeout
- Description: timeout for every GRPC operation
- Type: Time
- Required: true
- check_interval
- Description: interval for checking connections
- Type: Time
- Required: true
- count_interval
- Description: interval for checking connections
- Type: Time
- Required: false
- Default: "10000ms"
- cluster_policy
- backend_type
- pearl
- Description: used only for "backend_type: pearl"
- Type: Pearl
- Required: false
- metrics
- Description: send metrics
- Type: Metrics
- Required: false
- cleanup_interval
- Description: interval for checking for blobs cleanup
- Type: Time
- Required: true
- open_blobs_soft_limit
- open_blobs_hard_limit
- init_par_degree
- disk_access_par_degree
- Description:
- Type: uint
- Required: false
- Default: 1
time
is a concatenation of spans. Where each span is an integer number and a suffix.
E.g.: [1y 2M 4w 8d 16h 32min 64s 128ms 256us]
Supported suffixes:
- nsec, ns -- microseconds
- usec, us -- microseconds
- msec, ms -- milliseconds
- seconds, second, sec, s
- minutes, minute, min, m
- hours, hour, hr, h
- days, day, d
- weeks, week, w
- months, month, M -- defined as 30.44 days
- years, year, y -- defined as 365.25 days
- name
- graphite
- prefix
- Description: metrics format string
- Variables:
- "{local_address}" - address of the current node
- "{node_name}" - name of the current node
- "{metrics_name}" - base name
- Type: string
- Required: false
- max_blob_size
- max_data_in_blob
- blob_file_name_prefix
- fail_retry_timeout
- Description: timeout to retry to reinit pearl backend after fail
- Type: Time
- Required: false
- Default: "100ms"
- fail_retry_count
- alien_disk
- allow_duplicates
- settings
- Description: describes how create and manage bob directories
- Type: Settings
- Required: true
- hash_chars_count
- enable_aio
- disks_events_logfile
- bloom_filter_max_buf_bits_count
- Description: Max number of bits in bloom filter buffer
- Type: uint
- Required: false
- Default: 8_388_608 (1 Mb)
- root_dir_name
- alien_root_dir_name
- timestamp_period
- Description: period when new pearl directory created
- Type: Time
- Required: true
- create_pearl_wait_delay
- Description: each thread will wait this period if another thread creating pearl
- Type: string
- Required: true