Skip to content

Commit 820b4b1

Browse files
authored
Merge 6633aca into 694286b
2 parents 694286b + 6633aca commit 820b4b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ydb/core/tx/datashard/datashard_pipeline.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -1729,9 +1729,11 @@ EExecutionStatus TPipeline::RunExecutionPlan(TOperation::TPtr op,
17291729
auto status = unit.Execute(op, txc, ctx);
17301730
op->AddExecutionTime(timer.GetTime());
17311731

1732-
unitSpan.Attribute("Type", TypeName(unit))
1733-
.Attribute("Status", static_cast<int>(status))
1734-
.EndOk();
1732+
if (unitSpan) {
1733+
unitSpan.Attribute("Type", TypeName(unit))
1734+
.Attribute("Status", static_cast<int>(status))
1735+
.EndOk();
1736+
}
17351737

17361738
LOG_TRACE_S(ctx, NKikimrServices::TX_DATASHARD,
17371739
"Execution status for " << *op << " at " << Self->TabletID()

0 commit comments

Comments
 (0)