Skip to content

Commit

Permalink
Merge pull request #37 from nspcc-dev/neofs-storage-tree-service
Browse files Browse the repository at this point in the history
neofs-storage: add tree-service
  • Loading branch information
532910 authored Oct 15, 2024
2 parents a99034b + 30f4e0e commit 46781cd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions roles/storage/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ neofs_storage__wallet_path: '{{ neofs_storage__conf_dir }}/wallet.json'
neofs_storage__wallet_address: ''
neofs_storage__wallet_password: ''

neofs_storage__tree_service: False

neofs_storage__morph_endpoints: []
neofs_storage__announce_addresses: [ '{{ neofs_storage__grpc_address | ansible.utils.ipwrap }}:{{ neofs_storage__grpc_port }}' ]

Expand Down Expand Up @@ -180,6 +182,12 @@ neofs_storage__shards: |
path: '{{ data }}/peapod.db'
- type: fstree
path: '{{ data }}/tree'
{% if neofs_storage__tree_service %}
pilorama:
path: '{{ data }}/pilorama.db'
max_batch_delay: 10ms
max_batch_size: 200
{% endif %}
{% endfor %}
Expand All @@ -205,6 +213,16 @@ neofs_storage__default_config:
enabled: True
address: '{{ neofs_storage__pprof_address | ansible.utils.ipwrap }}:{{ neofs_storage__pprof_port }}'

- enabled: '{{ neofs_storage__tree_service }}'
options:
tree:
enabled: true
cache_size: 15
replication_worker_count: 16
replication_channel_capacity: 16
replication_timeout: 5s
sync_interval: 1h

neofs_storage__config: []
neofs_storage__group_config: []
neofs_storage__host_config: []
Expand Down

0 comments on commit 46781cd

Please sign in to comment.