Skip to content

Commit ff2023f

Browse files
committed
Review suggestion
1 parent 1b16d34 commit ff2023f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ydb/core/tx/datashard/build_index.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,13 @@ class TBuildScanUpload: public TActor<TBuildScanUpload<Activity>>, public NTable
388388
LOG_D("Upload, last key " << DebugPrintPoint(KeyTypes, WriteBuf.GetLastKey().GetCells(), *AppData()->TypeRegistry) << " " << Debug());
389389

390390
auto actor = NTxProxy::CreateUploadRowsInternal(
391-
TBase::SelfId(), TargetTable,
391+
this->SelfId(), TargetTable,
392392
UploadColumnsTypes,
393393
WriteBuf.GetRowsData(),
394394
UploadMode,
395395
true /*writeToPrivateTable*/);
396396

397-
Uploader = TActivationContext::ActorContextFor(TBase::SelfId()).Register(actor);
397+
Uploader = this->Register(actor);
398398
}
399399
};
400400

@@ -524,7 +524,6 @@ void TDataShard::HandleSafe(TEvDataShard::TEvBuildIndexCreateRequest::TPtr& ev,
524524
return;
525525
}
526526

527-
528527
TScanRecord::TSeqNo seqNo = {record.GetSeqNoGeneration(), record.GetSeqNoRound()};
529528
auto badRequest = [&](const TString& error) {
530529
auto response = MakeHolder<TEvDataShard::TEvBuildIndexProgressResponse>();

ydb/core/tx/datashard/local_kmeans.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ class TLocalKMeansScanBase: public TActor<TLocalKMeansScanBase>, public NTable::
508508
NTxProxy::EUploadRowsMode::WriteToTableShadow,
509509
true /*writeToPrivateTable*/);
510510

511-
Uploader = TActivationContext::ActorContextFor(this->SelfId()).Register(actor);
511+
Uploader = this->Register(actor);
512512
}
513513

514514
void UploadSample() {

0 commit comments

Comments
 (0)