Ugly hack in order to support replicationFactor when creating a new DB