code: public void resetNodesLastHeartbeatTime() {
      long now = ClusterManager.clock.getTime();
      for (ClusterNode node : nameToNode.values()) {
        node.lastHeartbeatTime = now;
      }
    }
docs: This is required when we come out of safe mode, and we need to reset
  the lastHeartbeatTime for each node