Skip to content

Commit

Permalink
revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Feb 4, 2025
1 parent 8551754 commit f023b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ private void initiateConnect(Node node, long now) {
try {
connectionStates.connecting(nodeConnectionId, now, node.host());
InetAddress address = connectionStates.currentAddress(nodeConnectionId);
log.error("KKK Initiating connection to node {} using address {}", node, address);
log.debug("Initiating connection to node {} using address {}", node, address);
selector.connect(nodeConnectionId,
new InetSocketAddress(address, node.port()),
this.socketSendBuffer,
Expand Down
1 change: 1 addition & 0 deletions raft/src/main/java/org/apache/kafka/raft/QuorumState.java
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ public boolean isVoter() {
if (localId.isEmpty()) {
return false;
}

return partitionState
.lastVoterSet()
.isVoter(ReplicaKey.of(localId.getAsInt(), localDirectoryId));
Expand Down

0 comments on commit f023b99

Please sign in to comment.