cloud-fs/src/main/java/io/activej/remotefs/cluster/FsPartitions.java
public boolean markDead(Object partitionId, @Nullable Throwable e) {
		FsClient client = aliveClients.remove(partitionId);
		if (client != null) {
			logger.warn("marking {} as dead ", partitionId, e);
			deadClients.put(partitionId, client);
			return true;
		}
		return false;
	}
/**
	 * Mark partition as dead. It means that no operations will use it and it would not be given to the server selector.
	 * Next call to {@link #checkDeadPartitions()} or {@link #checkAllPartitions()} will ping this partition and possibly
	 * mark it as alive again.
	 *
	 * @param partitionId id of the partition to be marked
	 * @param e           optional exception for logging
	 * @return <code>true</code> if partition was alive and <code>false</code> otherwise
	 */
Mark partition as dead. It means that no operations will use it and it would not be given to the server selector.
Next call to  #checkDeadPartitions() or  #checkAllPartitions() will ping this partition and possibly
mark it as alive again.

@param partitionId id of the partition to be marked
@param e           optional exception for logging
@return true if partition was alive and false otherwise
Mark partition as dead . It means that no operations will use it and it would not be given to the server selector . Next call to #checkDeadPartitions () or #checkAllPartitions () will ping this partition and possibly mark it as alive again . @param partitionId id of the partition to be marked @param e optional exception for logging @return true if partition was alive and false otherwise
public boolean markDead(Object partitionId, @Nullable Throwable e) {
		FsClient client = aliveClients.remove(partitionId);
		if (client != null) {
			logger.warn("marking {} as dead ", partitionId, e);
			deadClients.put(partitionId, client);
			return true;
		}
		return false;
	}
public boolean markDead ( Object partitionId , @ Nullable Throwable e ) { FsClient client = aliveClients . remove ( partitionId ) ; if ( client != null ) { logger . warn ( "marking {} as dead " , partitionId , e ) ; deadClients . put ( partitionId , client ) ; return true ; } return false ; }
Mark partition as dead.
Mark partition as dead .