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
f3df3ec1
Unverified
Commit
f3df3ec1
authored
Aug 12, 2020
by
HarveyLiu
Committed by
GitHub
Aug 12, 2020
Browse files
fix misleading typo hasActiveChildProcess doc comment (#7588)
and a misspell in rax.c
parent
79c506eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/rax.c
View file @
f3df3ec1
...
@@ -554,7 +554,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void **
...
@@ -554,7 +554,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void **
*
*
* Splitting a compressed node have a few possible cases.
* Splitting a compressed node have a few possible cases.
* Imagine that the node 'h' we are currently at is a compressed
* Imagine that the node 'h' we are currently at is a compressed
* node contaning the string "ANNIBALE" (it means that it represents
* node conta
i
ning the string "ANNIBALE" (it means that it represents
* nodes A -> N -> N -> I -> B -> A -> L -> E with the only child
* nodes A -> N -> N -> I -> B -> A -> L -> E with the only child
* pointer of this node pointing at the 'E' node, because remember that
* pointer of this node pointing at the 'E' node, because remember that
* we have characters at the edges of the graph, not inside the nodes
* we have characters at the edges of the graph, not inside the nodes
...
...
src/server.c
View file @
f3df3ec1
...
@@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) {
...
@@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) {
dictDisableResize
();
dictDisableResize
();
}
}
/* Return true if there are
no
active children processes doing RDB saving,
/* Return true if there are active children processes doing RDB saving,
* AOF rewriting, or some side process spawned by a loaded module. */
* AOF rewriting, or some side process spawned by a loaded module. */
int
hasActiveChildProcess
()
{
int
hasActiveChildProcess
()
{
return
server
.
rdb_child_pid
!=
-
1
||
return
server
.
rdb_child_pid
!=
-
1
||
...
...
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