File tree 2 files changed +2
-2
lines changed
ydb/core/tx/columnshard/engines/storage/granule
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ TGranuleMeta::TGranuleMeta(
130
130
PathId, owner.GetStoragesManager (), versionedIndex.GetLastSchema ()->GetIndexInfo ().GetPrimaryKey ());
131
131
OptimizerPlanner = versionedIndex.GetLastSchema ()->GetIndexInfo ().GetCompactionPlannerConstructor ()->BuildPlanner (context).DetachResult ();
132
132
AFL_VERIFY (!!OptimizerPlanner);
133
- ActualizationIndex = std::make_shared <NActualizer::TGranuleActualizationIndex>(PathId, versionedIndex);
133
+ ActualizationIndex = std::make_unique <NActualizer::TGranuleActualizationIndex>(PathId, versionedIndex);
134
134
}
135
135
136
136
void 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 {
123
123
std::shared_ptr<TGranulesStat> Stats;
124
124
std::shared_ptr<IStoragesManager> StoragesManager;
125
125
std::shared_ptr<NStorageOptimizer::IOptimizerPlanner> OptimizerPlanner;
126
- std::shared_ptr <NActualizer::TGranuleActualizationIndex> ActualizationIndex;
126
+ std::unique_ptr <NActualizer::TGranuleActualizationIndex> ActualizationIndex;
127
127
mutable TInstant NextActualizations = TInstant::Zero();
128
128
129
129
NGranule::NPortionsIndex::TPortionsIndex PortionsIndex;
You can’t perform that action at this time.
0 commit comments