@@ -64,7 +64,7 @@ namespace NFwd {
6464 TAutoPtr<TFetch> Fetch;
6565 };
6666
67- struct TEnv : public IPages {
67+ struct TEnv : public IPages {
6868 using TSlot = ui32;
6969 using TSlotVec = TSmallVec<TSlot>;
7070
@@ -352,15 +352,15 @@ namespace NFwd {
352352 }
353353 }
354354
355- TEgg MakeCache (const TPart *part, NPage::TGroupId groupId, TIntrusiveConstPtr<TSlices> bounds ) noexcept
355+ TEgg MakeCache (const TPart *part, NPage::TGroupId groupId, TIntrusiveConstPtr<TSlices> slices ) noexcept
356356 {
357- auto *partStore = dynamic_cast <const TPartStore*>(part);
357+ auto *partStore = CheckedCast <const TPartStore*>(part);
358358
359359 Y_ABORT_UNLESS (groupId.Index < partStore->PageCollections .size (), " Got part without enough page collections" );
360360
361361 auto & cache = partStore->PageCollections [groupId.Index ];
362362
363- auto * fwd = new NFwd::TCache (part, this , groupId, bounds );
363+ auto * fwd = new NFwd::TCache (part, this , groupId, slices );
364364 return { fwd, cache->PageCollection };
365365 }
366366
@@ -421,7 +421,7 @@ namespace NFwd {
421421 TDeque<TSimpleEnv> IndexPages;
422422 THashMap<const TPart*, TSlotVec> Parts;
423423 THashSet<const TPart*> ColdParts;
424- // Wrapper for memable blobs
424+ // Wrapper for memtable blobs
425425 TAutoPtr<TMemTableHandler> MemTable;
426426 // Waiting for read aheads
427427 TIntrusiveList<TPageLoadingQueue> Queue;
0 commit comments