Skip to content

Commit d16572b

Browse files
committed
fix typos
1 parent 4229458 commit d16572b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

ydb/core/tablet_flat/flat_fwd_conf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ namespace NFwd {
1818

1919
ui32 Edge = Max<ui32>(); /* Outlined blob materialization edge */
2020
ui64 Tablet = 0; /* Use Edge only for this tablet if set */
21-
TVector<ui32> Keys; /* Always materalize this tag values */
21+
TVector<ui32> Keys; /* Always materialize this tag values */
2222

23-
/*_ Misc features configuation */
23+
/*_ Misc features configuration */
2424

2525
bool Trace = false; /* Track seen blobs used by reference */
2626
};

ydb/core/tablet_flat/flat_fwd_env.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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;

ydb/core/tablet_flat/flat_fwd_warmed.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#include "flat_fwd_conf.h"
43
#include "flat_fwd_sieve.h"
4+
#include "flat_mem_snapshot.h"
55
#include "flat_mem_warm.h"
66
#include "flat_part_screen.h"
77
#include "flat_part_iface.h"

0 commit comments

Comments
 (0)