@@ -2818,8 +2818,7 @@ void TDataShard::ProposeTransaction(TEvDataShard::TEvProposeTransaction::TPtr &&
28182818 UpdateProposeQueueSize ();
28192819 } else {
28202820 // Prepare planned transactions as soon as possible
2821- TTxProposeTransactionBase *tx = new TTxProposeTransactionBase (this , std::move (ev), TAppData::TimeProvider->Now (), NextTieBreakerIndex++, /* delayed */ false );
2822- Execute (tx, ctx, tx->GetTraceId ());
2821+ Execute (new TTxProposeTransactionBase (this , std::move (ev), TAppData::TimeProvider->Now (), NextTieBreakerIndex++, /* delayed */ false ), ctx);
28232822 }
28242823}
28252824
@@ -2837,8 +2836,7 @@ void TDataShard::ProposeTransaction(NEvents::TDataEvents::TEvWrite::TPtr&& ev, c
28372836 UpdateProposeQueueSize ();
28382837 } else {
28392838 // Prepare planned transactions as soon as possible
2840- TTxWrite *tx = new TTxWrite (this , std::move (ev), TAppData::TimeProvider->Now (), NextTieBreakerIndex++, /* delayed */ false );
2841- Execute (tx, ctx, tx->GetTraceId ());
2839+ Execute (new TTxWrite (this , std::move (ev), TAppData::TimeProvider->Now (), NextTieBreakerIndex++, /* delayed */ false ), ctx);
28422840 }
28432841}
28442842
@@ -2903,14 +2901,12 @@ void TDataShard::Handle(TEvPrivate::TEvDelayedProposeTransaction::TPtr &ev, cons
29032901 switch (item.Event ->GetTypeRewrite ()) {
29042902 case TEvDataShard::TEvProposeTransaction::EventType: {
29052903 auto event = IEventHandle::Downcast<TEvDataShard::TEvProposeTransaction>(std::move (item.Event ));
2906- TTxProposeTransactionBase *tx = new TTxProposeTransactionBase (this , std::move (event), item.ReceivedAt , item.TieBreakerIndex , /* delayed */ true );
2907- Execute (tx, ctx, tx->GetTraceId ());
2904+ Execute (new TTxProposeTransactionBase (this , std::move (event), item.ReceivedAt , item.TieBreakerIndex , /* delayed */ true ), ctx);
29082905 return ;
29092906 }
29102907 case NEvents::TDataEvents::TEvWrite::EventType: {
29112908 auto event = IEventHandle::Downcast<NEvents::TDataEvents::TEvWrite>(std::move (item.Event ));
2912- TTxWrite *tx = new TTxWrite (this , std::move (event), item.ReceivedAt , item.TieBreakerIndex , /* delayed */ true );
2913- Execute (tx, ctx, tx->GetTraceId ());
2909+ Execute (new TTxWrite (this , std::move (event), item.ReceivedAt , item.TieBreakerIndex , /* delayed */ true ), ctx);
29142910 return ;
29152911 }
29162912 default :
@@ -4121,13 +4117,13 @@ bool TDataShard::ReassignChannelsEnabled() const {
41214117}
41224118
41234119void TDataShard::ExecuteProgressTx (const TActorContext& ctx) {
4124- Execute (new TTxProgressTransaction (this , {}), ctx);
4120+ Execute (new TTxProgressTransaction (this , {}, {} ), ctx);
41254121}
41264122
41274123void TDataShard::ExecuteProgressTx (TOperation::TPtr op, const TActorContext& ctx) {
41284124 Y_ABORT_UNLESS (op->IsInProgress ());
41294125 NWilson::TTraceId traceId = op->GetTraceId ();
4130- Execute (new TTxProgressTransaction (this , std::move (op)), ctx, std::move (traceId));
4126+ Execute (new TTxProgressTransaction (this , std::move (op), std::move (traceId)), ctx );
41314127}
41324128
41334129TDuration TDataShard::CleanupTimeout () const {
0 commit comments