Leader election and basic append entry.