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

Method addMergeSourcePool

bolt/exec/Task.cpp:631–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631bolt::memory::MemoryPool* Task::addMergeSourcePool(
632 const core::PlanNodeId& planNodeId,
633 uint32_t pipelineId,
634 uint32_t sourceId) {
635 std::lock_guard<std::timed_mutex> l(mutex_);
636 auto* nodePool = getOrAddNodePool(planNodeId);
637 childPools_.push_back(nodePool->addLeafChild(
638 fmt::format(
639 "mergeExchangeClient.{}.{}.{}", planNodeId, pipelineId, sourceId),
640 true,
641 createExchangeClientReclaimer()));
642 return childPools_.back().get();
643}
644
645bolt::memory::MemoryPool* Task::addExchangeClientPool(
646 const core::PlanNodeId& planNodeId,

Callers 1

addMergeSourcesMethod · 0.80

Calls 4

addLeafChildMethod · 0.80
backMethod · 0.80
push_backMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected