@Override public void nodeDown(long eventUID,String nodeID){
  try {
    lock.lock();
    untriedConnectors.putAll(triedConnectors);
    triedConnectors.clear();
    if (untriedConnectors.size() > 0) {
      condition.signal();
    }
  }
  finally {
    lock.unlock();
  }
}

@ Override public void nodeDown ( long eventUID , String nodeID ) { try { lock . lock ( ) ; untriedConnectors . putAll ( triedConnectors ) ; triedConnectors . clear ( ) ; if ( untriedConnectors . size ( ) > 0 ) { condition . signal ( ) ; } } finally { lock . unlock ( ) ; } }
if a node goes down we try all the connectors again as one may now be available for replication < p > todo : there will be a better way to do this by finding which nodes backup has gone down .
