MCPcopy Create free account
hub / github.com/apache/cloudberry / SendStopMessage

Function SendStopMessage

src/backend/cdb/motion/cdbmotion.c:341–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void
342SendStopMessage(MotionLayerState *mlStates,
343 ChunkTransportState *transportStates,
344 int16 motNodeID)
345{
346 MotionNodeEntry *pEntry = getMotionNodeEntry(mlStates, motNodeID);
347
348 pEntry->stopped = true;
349 if (transportStates != NULL && CurrentMotionIPCLayer->SendStopMessage != NULL)
350 CurrentMotionIPCLayer->SendStopMessage(transportStates, motNodeID);
351}
352
353void
354CheckAndSendRecordCache(MotionLayerState *mlStates,

Callers 3

execMotionSortedReceiverFunction · 0.85
ExecSquelchMotionFunction · 0.85

Calls 1

getMotionNodeEntryFunction · 0.85

Tested by

no test coverage detected