void ClusterMgr::print_nodes(const char* where, NdbOut& out) { out << where << " >>" << endl; for (NodeId n = 1; n < MAX_NODES ; n++) { const trp_node node = getNodeInfo(n); if (!node.defined) continue; out << "node: " << n << endl; out << " -"; out << " connected: " << node.is_connected(); out << ", compatible: " << node.compatible; out << ", nf_complete_rep: " << node.nfCompleteRep; out << ", alive: " << node.m_alive; out << ", confirmed: " << node.is_confirmed(); out << endl; out << " - " << node.m_info << endl; out << " - " << node.m_state << endl; } out << "<<" << endl; }
bool found_ok(const SignalSender& ss, const trp_node & node) { return node.is_connected(); }