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

Method maxPartitionedOutputBufferSize

bolt/core/QueryConfig.h:917–920  ·  view source on GitHub ↗

Returns the maximum number of bytes to buffer in PartitionedOutput operator to avoid creating tiny SerializedPages. For PartitionedOutputNode::Kind::kPartitioned, PartitionedOutput operator would buffer up to that number of bytes / number of destinations for each destination before producing a SerializedPage.

Source from the content-addressed store, hash-verified

915 /// destination before producing a SerializedPage.
916 uint64_t maxPartitionedOutputBufferSize() const {
917 static constexpr uint64_t kDefault = 32UL << 20;
918 return get<uint64_t>(kMaxPartitionedOutputBufferSize, kDefault);
919 }
920
921 /// Returns the maximum size in bytes for the task's buffered output.
922 ///
923 /// The producer Drivers are blocked when the buffered size exceeds

Callers 1

PartitionedOutputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected