We don't do any checks if minHosts > Available hosts in cluster . I am not sure if we have to do that check. But, I am opening this bug just in case if we choose to do it.
This HostAvailabilityListener is created even though the server is a single node instance
failure.add( new HostAvailabilityListener(dmManager)
.withSuspendTimeForHostUnavailable(Duration.ofSeconds(15))
.withMinHosts(5));