diff --git a/cmd/neofs-node/config/engine/shard/config.go b/cmd/neofs-node/config/engine/shard/config.go index 243ddd6f..4eaded1f 100644 --- a/cmd/neofs-node/config/engine/shard/config.go +++ b/cmd/neofs-node/config/engine/shard/config.go @@ -59,12 +59,12 @@ func (x *Config) GC() *gcconfig.Config { ) } -// RefillMetabase returns value of "refill_metabase" config parameter. +// RefillMetabase returns value of "resync_metabase" config parameter. // // Returns false if value is not a valid bool. func (x *Config) RefillMetabase() bool { return config.BoolSafe( (*config.Config)(x), - "refill_metabase", + "resync_metabase", ) } diff --git a/config/example/node.env b/config/example/node.env index 2edbc69c..c0b77f37 100644 --- a/config/example/node.env +++ b/config/example/node.env @@ -69,7 +69,7 @@ NEOFS_STORAGE_SHARD_POOL_SIZE=15 NEOFS_STORAGE_SHARD_NUM=2 ## 0 shard ### Flag to refill Metabase from BlobStor -NEOFS_STORAGE_SHARD_0_REFILL_METABASE=false +NEOFS_STORAGE_SHARD_0_RESYNC_METABASE=false ### Write cache config NEOFS_STORAGE_SHARD_0_USE_WRITE_CACHE=false NEOFS_STORAGE_SHARD_0_WRITECACHE_PATH=tmp/0/cache @@ -100,7 +100,7 @@ NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=2m ## 1 shard ### Flag to refill Metabase from BlobStor -NEOFS_STORAGE_SHARD_1_REFILL_METABASE=true +NEOFS_STORAGE_SHARD_1_RESYNC_METABASE=true ### Write cache config NEOFS_STORAGE_SHARD_1_USE_WRITE_CACHE=true NEOFS_STORAGE_SHARD_1_WRITECACHE_PATH=tmp/1/cache diff --git a/config/example/node.json b/config/example/node.json index 20f0d1b8..a8b83802 100644 --- a/config/example/node.json +++ b/config/example/node.json @@ -101,7 +101,7 @@ "shard_num": 2, "shard": { "0": { - "refill_metabase": false, + "resync_metabase": false, "use_write_cache": false, "writecache": { "path": "tmp/0/cache", @@ -134,7 +134,7 @@ } }, "1": { - "refill_metabase": true, + "resync_metabase": true, "use_write_cache": true, "writecache": { "path": "tmp/1/cache", diff --git a/config/example/node.yaml b/config/example/node.yaml index bab27b6b..78cb23cb 100644 --- a/config/example/node.yaml +++ b/config/example/node.yaml @@ -88,7 +88,7 @@ storage: shard_pool_size: 15 # size of per-shard worker pools used for PUT operations shard_num: 2 # total number of shards default: # section with the default shard parameters - refill_metabase: true # sync metabase with blobstore on start, expensive, leave false until complete understanding + resync_metabase: true # sync metabase with blobstore on start, expensive, leave false until complete understanding use_write_cache: true # use write-cache @@ -119,7 +119,7 @@ storage: shard: 0: - refill_metabase: false # sync metabase with blobstore on start, expensive, leave false until complete understanding + resync_metabase: false # sync metabase with blobstore on start, expensive, leave false until complete understanding use_write_cache: false # use write-cache