summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-05-09 07:12:44 +0800
committerGitHub <noreply@github.com>2023-05-08 16:12:44 -0700
commit03d50e0c307512c55382d3c0da7cf10d8adc71d3 (patch)
tree0b1adb7a24f22639d04afa6ed45d250c056822d8
parenta129a601818d88a2f2aa9d954afc8afa43030f7e (diff)
downloadredis-03d50e0c307512c55382d3c0da7cf10d8adc71d3.tar.gz
Remove several instances of duplicate "the" in comments (#12144)
Remove several instances of duplicate "the" in comments
-rw-r--r--src/blocked.c2
-rw-r--r--src/commands/append.json2
-rw-r--r--tests/unit/cluster/cli.tcl2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/blocked.c b/src/blocked.c
index c9d5f230a..1b3a804b1 100644
--- a/src/blocked.c
+++ b/src/blocked.c
@@ -650,7 +650,7 @@ static void unblockClientOnKey(client *c, robj *key) {
* to run atomically, this is why we must enter the execution unit here before
* running the command, and exit the execution unit after calling the unblock handler (if exists).
* Notice that we also must set the current client so it will be available
- * when we will try to send the the client side caching notification (done on 'afterCommand'). */
+ * when we will try to send the client side caching notification (done on 'afterCommand'). */
client *old_client = server.current_client;
server.current_client = c;
enterExecutionUnit(1, 0);
diff --git a/src/commands/append.json b/src/commands/append.json
index d21d468ef..a8ec6bf82 100644
--- a/src/commands/append.json
+++ b/src/commands/append.json
@@ -36,7 +36,7 @@
],
"reply_schema": {
"type": "integer",
- "description": "The the length of the string after the append operation."
+ "description": "The length of the string after the append operation."
},
"arguments": [
{
diff --git a/tests/unit/cluster/cli.tcl b/tests/unit/cluster/cli.tcl
index 3e7f1bedb..5b7f24927 100644
--- a/tests/unit/cluster/cli.tcl
+++ b/tests/unit/cluster/cli.tcl
@@ -64,7 +64,7 @@ start_multiple_servers 3 [list overrides $base_conf] {
}
test "Wait for cluster to be stable" {
- # Cluster check just verifies the the config state is self-consistent,
+ # Cluster check just verifies the config state is self-consistent,
# waiting for cluster_state to be okay is an independent check that all the
# nodes actually believe each other are healthy, prevent cluster down error.
wait_for_condition 1000 50 {