You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2024/02/07 07:30:08 UTC

(kafka) branch trunk updated: MINOR: fix word spelling mistakes (#15331)

This is an automated email from the ASF dual-hosted git repository.

showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new af0aceb4d71 MINOR: fix word spelling mistakes (#15331)
af0aceb4d71 is described below

commit af0aceb4d718f1b647114857b374806c7c2b67a0
Author: yicheny <si...@gmail.com>
AuthorDate: Wed Feb 7 15:30:01 2024 +0800

    MINOR: fix word spelling mistakes (#15331)
    
    fix word spelling mistakes
    
    Reviewers: Luke Chen <sh...@gmail.com>
---
 raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java b/raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java
index e9fca1d6b2b..fd98774355c 100644
--- a/raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java
+++ b/raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java
@@ -975,7 +975,7 @@ public class KafkaRaftClient<T> implements RaftClient<T> {
             || isPartitionDiverged(partitionResponse)
             || isPartitionSnapshotted(partitionResponse)) {
             // Reply immediately if any of the following is true
-            // 1. The response contains an errror
+            // 1. The response contains an error
             // 2. There are records in the response
             // 3. The fetching replica doesn't want to wait for the partition to contain new data
             // 4. The fetching replica needs to truncate because the log diverged