- TEvAggregateStatsCompleted was sent
- The filesystem was resized, TIndexTabletActor::ExecuteTx_ConfigureShards was called,
ShardBalancer was recreated with new number of shards.
- 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