Skip to content

Commit

Permalink
issue-1932: automatic shard addition upon filestore resize (#2507)
Browse files Browse the repository at this point in the history
* issue-1932: automatic shard addition WIP

* issue-1932: automatic shard addition upon filestore resize

* issue-1932: ut for errors processing during shard autoaddition upon filestore resize

* issue-1932: simple integration test with sharded fs autocreation and shard autoaddition upon resize
  • Loading branch information
qkrorlqr authored Nov 18, 2024
1 parent 5289865 commit fe043ae
Show file tree
Hide file tree
Showing 10 changed files with 835 additions and 42 deletions.
1 change: 1 addition & 0 deletions cloud/filestore/libs/storage/core/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ TMultiShardFileStoreConfig SetupMultiShardFileStorePerformanceAndChannels(
result.ShardConfigs.resize(shardCount);
for (ui32 i = 0; i < shardCount; ++i) {
result.ShardConfigs[i] = fileStore;
result.ShardConfigs[i].ClearVersion();
result.ShardConfigs[i].SetBlocksCount(
config.GetMaxShardSize() / fileStore.GetBlockSize());
result.ShardConfigs[i].SetFileSystemId(
Expand Down
Loading

0 comments on commit fe043ae

Please sign in to comment.