File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ydb/core/tx/columnshard/engines/storage/granule Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ TGranuleMeta::TGranuleMeta(
130130 PathId, owner.GetStoragesManager (), versionedIndex.GetLastSchema ()->GetIndexInfo ().GetPrimaryKey ());
131131 OptimizerPlanner = versionedIndex.GetLastSchema ()->GetIndexInfo ().GetCompactionPlannerConstructor ()->BuildPlanner (context).DetachResult ();
132132 AFL_VERIFY (!!OptimizerPlanner);
133- ActualizationIndex = std::make_shared <NActualizer::TGranuleActualizationIndex>(PathId, versionedIndex);
133+ ActualizationIndex = std::make_unique <NActualizer::TGranuleActualizationIndex>(PathId, versionedIndex);
134134}
135135
136136void TGranuleMeta::UpsertPortionOnLoad (const std::shared_ptr<TPortionInfo>&& portion) {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ class TGranuleMeta: TNonCopyable {
123123 std::shared_ptr<TGranulesStat> Stats;
124124 std::shared_ptr<IStoragesManager> StoragesManager;
125125 std::shared_ptr<NStorageOptimizer::IOptimizerPlanner> OptimizerPlanner;
126- std::shared_ptr <NActualizer::TGranuleActualizationIndex> ActualizationIndex;
126+ std::unique_ptr <NActualizer::TGranuleActualizationIndex> ActualizationIndex;
127127 mutable TInstant NextActualizations = TInstant::Zero();
128128
129129 NGranule::NPortionsIndex::TPortionsIndex PortionsIndex;
You can’t perform that action at this time.
0 commit comments