Skip to content

Commit 27a4124

Browse files
authored
EvWrite locks (#774)
1 parent 1e480e9 commit 27a4124

File tree

5 files changed

+126
-232
lines changed

5 files changed

+126
-232
lines changed

ydb/core/tx/datashard/datashard__engine_host.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class TEngineBay : TNonCopyable {
5252

5353
const NMiniKQL::IEngineFlat * GetEngine() const { return Engine.Get(); }
5454
NMiniKQL::IEngineFlat * GetEngine();
55+
NMiniKQL::TEngineHost * GetEngineHost() { return EngineHost.Get(); }
5556
void SetLockTxId(ui64 lockTxId, ui32 lockNodeId);
5657
void SetUseLlvmRuntime(bool llvmRuntime) { EngineSettings->LlvmRuntime = llvmRuntime; }
5758

ydb/core/tx/datashard/datashard_pipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ TOperation::TPtr TPipeline::BuildOperation(NEvents::TDataEvents::TEvWrite::TPtr&
15801580
return writeOp;
15811581
}
15821582

1583-
writeOp->ExtractKeys();
1583+
writeTx->ExtractKeys(true);
15841584

15851585
switch (rec.txmode()) {
15861586
case NKikimrDataEvents::TEvWrite::MODE_PREPARE:

0 commit comments

Comments
 (0)