Skip to content

[Filestore] Shards balancer crashes immediately after the filesystem resizes and increases shard count #5216

@ruslan-gar

Description

@ruslan-gar
  1. TEvAggregateStatsCompleted was sent
  2. The filesystem was resized, TIndexTabletActor::ExecuteTx_ConfigureShards was called,
    ShardBalancer was recreated with new number of shards.
  3. TEvAggregateStatsCompleted was handled, UpdateShardBalancer with old number of shards was called,
    which caused Y_ABORT_UNLESS(stats.size() == Metas.size());

The solution is to ignore TEvAggregateStatsCompleted in TIndexTabletActor::StateZombie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions