Skip to content

Commit 01beb25

Browse files
committed
Fix TMaybe<ui8> to TMaybe<ui64>
1 parent 2a58a3d commit 01beb25

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

ydb/core/kqp/executer_actor/kqp_executer_impl.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ class TKqpExecuterBase : public TActor<TDerived> {
167167
ArrayBufferMinFillPercentage = tableServiceConfig.GetArrayBufferMinFillPercentage();
168168
}
169169

170-
if (tableServiceConfig.HasBufferPageAllocSize()) {
171-
BufferPageAllocSize = tableServiceConfig.GetBufferPageAllocSize();
172-
}
170+
BufferPageAllocSize = tableServiceConfig.GetBufferPageAllocSize();
173171

174172
EnableReadsMerge = *MergeDatashardReadsControl() == 1;
175173
TasksGraph.GetMeta().Snapshot = IKqpGateway::TKqpSnapshot(Request.Snapshot.Step, Request.Snapshot.TxId);
@@ -1028,7 +1026,7 @@ class TKqpExecuterBase : public TActor<TDerived> {
10281026
} else {
10291027
settings = *stageInfo.Meta.ResolvedSinkSettings;
10301028
}
1031-
1029+
10321030
auto& lockTxId = TasksGraph.GetMeta().LockTxId;
10331031
if (lockTxId) {
10341032
settings.SetLockTxId(*lockTxId);
@@ -2339,7 +2337,7 @@ class TKqpExecuterBase : public TActor<TDerived> {
23392337
const NKikimrConfig::TTableServiceConfig::EBlockTrackingMode BlockTrackingMode;
23402338
const bool VerboseMemoryLimitException;
23412339
TMaybe<ui8> ArrayBufferMinFillPercentage;
2342-
TMaybe<ui8> BufferPageAllocSize;
2340+
TMaybe<ui64> BufferPageAllocSize;
23432341

23442342
ui64 StatCollectInflightBytes = 0;
23452343
ui64 StatFinishInflightBytes = 0;

ydb/core/kqp/executer_actor/kqp_planner.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class TKqpPlanner {
6565
const std::shared_ptr<NKikimr::NKqp::NComputeActor::IKqpNodeComputeActorFactory>& CaFactory_;
6666
const NKikimrConfig::TTableServiceConfig::EBlockTrackingMode BlockTrackingMode;
6767
const TMaybe<ui8> ArrayBufferMinFillPercentage;
68-
const TMaybe<ui8> BufferPageAllocSize;
68+
const TMaybe<ui64> BufferPageAllocSize;
6969
const bool VerboseMemoryLimitException;
7070
};
7171

@@ -138,7 +138,7 @@ class TKqpPlanner {
138138
TVector<TProgressStat> LastStats;
139139
const NKikimrConfig::TTableServiceConfig::EBlockTrackingMode BlockTrackingMode;
140140
const TMaybe<ui8> ArrayBufferMinFillPercentage;
141-
const TMaybe<ui8> BufferPageAllocSize;
141+
const TMaybe<ui64> BufferPageAllocSize;
142142
const bool VerboseMemoryLimitException;
143143

144144
public:

0 commit comments

Comments
 (0)