public Optional<LogHistory.Entry<VoterSet>> lastVoterSetEntry() {
        synchronized (voterSetHistory) {
            return voterSetHistory.lastEntry();
        }
    }
Return the latest entry for the set of voters.
raft/src/main/java/org/apache/kafka/raft/internals/KRaftControlRecordStateMachine.java