Skip to content

Commit

Permalink
Move functionality to UserDb (ydb-platform#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
azevaykin authored Jan 26, 2024
1 parent 50d29ce commit 65c46e5
Show file tree
Hide file tree
Showing 18 changed files with 1,048 additions and 863 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ class TBuildDistributedEraseTxOutRSUnit : public TExecutionUnit {
condition->Prepare(txc.DB.GetRowScheme(tableInfo.LocalTid), 0);

const auto tags = MakeTags(condition->Tags(), eraseTx->GetIndexColumnIds());
auto readVersion = DataShard.GetReadWriteVersions(tx).ReadVersion;
TDataShardUserDb userDb(DataShard, txc.DB, readVersion);
auto now = TAppData::TimeProvider->Now();
auto [readVersion, writeVersion] = DataShard.GetReadWriteVersions(tx);
NMiniKQL::TEngineHostCounters engineHostCounters;
TDataShardUserDb userDb(DataShard, txc.DB, op->GetGlobalTxId(), readVersion, writeVersion, engineHostCounters, now);
bool pageFault = false;

TDynBitMap confirmedRows;
Expand Down
Loading

0 comments on commit 65c46e5

Please sign in to comment.