This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
from 5e2f54e37a6 MINOR: Cleanup Connect Module (5/n) (#20393)
add 52dfe1e1b3f MINOR: Cleanup Raft Module (#20348)
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/kafka/raft/DynamicVoter.java | 85 +++-------------
.../org/apache/kafka/raft/KafkaRaftClient.java | 108 +++++----------------
.../java/org/apache/kafka/raft/LeaderAndEpoch.java | 39 +-------
.../kafka/raft/internals/AddVoterHandler.java | 10 +-
.../apache/kafka/raft/internals/EpochElection.java | 22 +----
.../kafka/raft/internals/RemoveVoterHandler.java | 6 +-
.../kafka/raft/internals/ThresholdPurgatory.java | 9 +-
.../org/apache/kafka/raft/LeaderAndEpochTest.java | 32 +++---
.../org/apache/kafka/raft/LeaderStateTest.java | 31 ++----
.../test/java/org/apache/kafka/raft/MockLog.java | 94 +-----------------
.../java/org/apache/kafka/raft/MockLogTest.java | 29 +-----
.../apache/kafka/raft/RaftEventSimulationTest.java | 52 +++-------
.../java/org/apache/kafka/raft/RaftUtilTest.java | 28 +-----
13 files changed, 99 insertions(+), 446 deletions(-)
copy
coordinator-common/src/test/java/org/apache/kafka/coordinator/common/runtime/CoordinatorResultTest.java
=> raft/src/test/java/org/apache/kafka/raft/LeaderAndEpochTest.java (54%)