Setting opened_cache_ttl in default section of config.yaml doesn't applicable #1001

Closed
opened 2024-02-21 12:47:35 +00:00 by anikeev-yadro · 0 comments
Member

Expected Behavior

Setting opened_cache_ttl in default section of config.yaml should working

Current Behavior

Setting opened_cache_ttl in default section of config.yaml doesn't working

Steps to Reproduce (for bugs)

1.Set parameter in file /etc/frostfs/storage/config.yml

storage:
  shard:
    default:
      blobstor:
      - depth: 1
        leaf_width: 10000
        opened_cache_capacity: 10
        opened_cache_ttl: 3m

2.Restart frostfs-storage and see that this parameter is not applicable
3.Setting parameter in shard:0 section in file /etc/frostfs/storage/conf.d/01_storage.yml

storage:
  shard:
    0:
      blobstor:
      - path: /srv/frostfs/data/78c167072754b977/blobovnicza
        type: blobovnicza
        opened_cache_ttl: 1m
      - path: /srv/frostfs/data/78c167072754b977
        type: fstree
      metabase:
        path: /srv/frostfs/meta/d1552f02dd426450/meta/78c167072754b977/metabase.db

4.Restart frostfs-storage and see that this parameter is working correctly

Context

Regression

No

Version

FrostFS Storage node
Version: v0.37.0-rc.1-322-g2680192b
GoVersion: go1.20.1

Your Environment

Cloud

## Expected Behavior Setting `opened_cache_ttl` in `default` section of `config.yaml` should working ## Current Behavior Setting `opened_cache_ttl` in `default` section of `config.yaml` doesn't working ## Steps to Reproduce (for bugs) 1.Set parameter in file `/etc/frostfs/storage/config.yml` ``` storage: shard: default: blobstor: - depth: 1 leaf_width: 10000 opened_cache_capacity: 10 opened_cache_ttl: 3m ``` 2.Restart frostfs-storage and see that this parameter is not applicable 3.Setting parameter in shard:0 section in file `/etc/frostfs/storage/conf.d/01_storage.yml` ``` storage: shard: 0: blobstor: - path: /srv/frostfs/data/78c167072754b977/blobovnicza type: blobovnicza opened_cache_ttl: 1m - path: /srv/frostfs/data/78c167072754b977 type: fstree metabase: path: /srv/frostfs/meta/d1552f02dd426450/meta/78c167072754b977/metabase.db ``` 4.Restart frostfs-storage and see that this parameter is working correctly ## Context <!-- How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world --> ## Regression No ## Version ``` FrostFS Storage node Version: v0.37.0-rc.1-322-g2680192b GoVersion: go1.20.1 ``` ## Your Environment Cloud
anikeev-yadro added the
bug
triage
labels 2024-02-21 12:47:35 +00:00
fyrchik added this to the v0.39.0 milestone 2024-02-28 19:23:07 +00:00
fyrchik modified the milestone from v0.39.0 to v0.40.0 2024-05-14 14:09:13 +00:00
fyrchik self-assigned this 2024-05-15 06:47:16 +00:00
fyrchik added
frostfs-node
and removed
triage
labels 2024-05-15 07:10:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1001
No description provided.