Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a972503f
Unverified
Commit
a972503f
authored
Jun 07, 2021
by
ZhaolongLi
Committed by
GitHub
Jun 07, 2021
Browse files
Fix typo in comment of flushAppendOnlyFile (#9051)
Co-authored-by:
lizhaolong.lzl
<
lizhaolong.lzl@B-54MPMD6R-0221.local
>
parent
3e39ea0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
a972503f
...
@@ -364,7 +364,7 @@ ssize_t aofWrite(int fd, const char *buf, size_t len) {
...
@@ -364,7 +364,7 @@ ssize_t aofWrite(int fd, const char *buf, size_t len) {
/* Write the append only file buffer on disk.
/* Write the append only file buffer on disk.
*
*
* Since we are required to write the AOF before replying to the client,
* Since we are required to write the AOF before replying to the client,
* and the only way the client socket can get a write is entering when
the
* and the only way the client socket can get a write is entering when
* the event loop, we accumulate all the AOF writes in a memory
* the event loop, we accumulate all the AOF writes in a memory
* buffer and write it on disk using this function just before entering
* buffer and write it on disk using this function just before entering
* the event loop again.
* the event loop again.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment