withLearner

Creates a cluster with the given voters plus a single non-voting learner.

The learner receives log replication but never votes and never leads.