Unverified Commit a972503f authored by ZhaolongLi's avatar ZhaolongLi Committed by GitHub
Browse files

Fix typo in comment of flushAppendOnlyFile (#9051)


Co-authored-by: default avatarlizhaolong.lzl <lizhaolong.lzl@B-54MPMD6R-0221.local>
parent 3e39ea0b
...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment