MCPcopy Create free account
hub / github.com/bytedance/bolt / addRemoteSplit

Method addRemoteSplit

bolt/exec/Task.cpp:1488–1500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1486}
1487
1488void Task::addRemoteSplit(
1489 const core::PlanNodeId& planNodeId,
1490 const exec::Split& split) {
1491 if (split.hasConnectorSplit()) {
1492 if (exchangeClientByPlanNode_.count(planNodeId)) {
1493 auto remoteSplit =
1494 std::dynamic_pointer_cast<RemoteConnectorSplit>(split.connectorSplit);
1495 BOLT_CHECK(remoteSplit, "Wrong type of split");
1496 exchangeClientByPlanNode_[planNodeId]->addRemoteTaskId(
1497 remoteSplit->taskId);
1498 }
1499 }
1500}
1501
1502std::unique_ptr<ContinuePromise> Task::addSplitLocked(
1503 SplitsState& splitsState,

Callers

nothing calls this directly

Calls 3

hasConnectorSplitMethod · 0.80
addRemoteTaskIdMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected