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. */
| 2294 | Instead if the node is a temporary node used to accept a query, we |
| 2295 | completely free the node on error. */ |
| 2296 | void handleLinkIOError(clusterLink *link) { |
| 2297 | freeClusterLink(link); |
| 2298 | } |
| 2299 | |
| 2300 | /* Send data. This is handled using a trivial send buffer that gets |
| 2301 | * consumed by write(). We don't try to optimize this for speed too much |
no test coverage detected