diff --git a/ydb/core/mind/bscontroller/self_heal.cpp b/ydb/core/mind/bscontroller/self_heal.cpp index c8458db079ad..59d73626a844 100644 --- a/ydb/core/mind/bscontroller/self_heal.cpp +++ b/ydb/core/mind/bscontroller/self_heal.cpp @@ -931,10 +931,11 @@ namespace NKikimr::NBsController { const auto& ss = bsConfig.GetServiceSet(); for (const auto& group : ss.GetGroups()) { auto& content = sh->GroupsToUpdate[group.GetGroupID()]; + const TBlobStorageGroupType gtype(static_cast(group.GetErasureSpecies())); content = TEvControllerUpdateSelfHealInfo::TGroupContent{ .Generation = group.GetGroupGeneration(), - .Type = static_cast(group.GetErasureSpecies()), - .Geometry = std::make_shared(content->Type, settings.GetGeometry()), + .Type = gtype, + .Geometry = std::make_shared(gtype, settings.GetGeometry()), }; const TVDiskID vdiskId(group.GetGroupID(), group.GetGroupGeneration(), 0, 0, 0);