MCPcopy Create free account
hub / github.com/F-Stack/f-stack / handleLinkIOError

Function handleLinkIOError

app/redis-6.2.6/src/cluster.c:2249–2251  ·  view source on GitHub ↗

This function is called when we detect the link with this node is lost. We set the node as no longer connected. The Cluster Cron will detect this connection and will try to get it connected again. Instead if the node is a temporary node used to accept a query, we completely free the node on error. */

Source from the content-addressed store, hash-verified

2247 Instead if the node is a temporary node used to accept a query, we
2248 completely free the node on error. */
2249void handleLinkIOError(clusterLink *link) {
2250 freeClusterLink(link);
2251}
2252
2253/* Send data. This is handled using a trivial send buffer that gets
2254 * consumed by write(). We don't try to optimize this for speed too much

Callers 2

clusterWriteHandlerFunction · 0.85
clusterReadHandlerFunction · 0.85

Calls 1

freeClusterLinkFunction · 0.85

Tested by

no test coverage detected