logger.warn("Operation failed as result of network exception. Connection to node {} is being marked as corrupt " +
"(and will probably be be destroyed). Cause of failure is {}", conn.getNode().getAddress(), e);
// This connection is "broken" by network timeout or other problem.
conn.corrupted();
// to avoid create the set for every request create the set here
if (avoidNodes == null) avoidNodes = new HashSet<String>(10);
avoidNodes.add(conn.getNode().getAddress());