From 9538088751bec5e53799c600167c24c878fb651f Mon Sep 17 00:00:00 2001 From: Binbin Date: Wed, 5 Jan 2022 18:06:02 +0800 Subject: [PATCH] Fix typos in aof.c / redis.conf (#10057) --- redis.conf | 4 ++-- src/aof.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redis.conf b/redis.conf index e996c95a0..6e4d6233e 100644 --- a/redis.conf +++ b/redis.conf @@ -1333,12 +1333,12 @@ appendonly no # The base name of the append only file. # # Redis 7 and newer use a set of append-only files to persist the dataset -# and changes appleid to it. There are two basic types of files in use: +# and changes applied to it. There are two basic types of files in use: # # - Base files, which are a snapshot representing the complete state of the # dataset at the time the file was created. Base files can be either in # the form of RDB (binary serialized) or AOF (textual commands). -# - Incremenetal files, which contain additional commands that were applied +# - Incremental files, which contain additional commands that were applied # to the dataset following the previous file. # # In addition, manifest files are used to track the files and the order in diff --git a/src/aof.c b/src/aof.c index 30ba38415..a46e8a7e3 100644 --- a/src/aof.c +++ b/src/aof.c @@ -702,7 +702,7 @@ int aofFileExist(char *filename) { } /* Called in `rewriteAppendOnlyFileBackground`. If `server.aof_state` - * is 'AOF_ON' or ‘AOF_WAIT_REWRITE', It will do two things: + * is 'AOF_ON' or 'AOF_WAIT_REWRITE', It will do two things: * 1. Open a new INCR type AOF for writing * 2. Synchronously update the manifest file to the disk *