Fix typos in aof.c / redis.conf (#10057)

This commit is contained in:
Binbin 2022-01-05 18:06:02 +08:00 committed by GitHub
parent d1b5b63872
commit 9538088751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
*