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
a99766fd
Commit
a99766fd
authored
Jul 02, 2014
by
antirez
Browse files
Fixed conditional for aof-write-pending-fsync latency event selection.
parent
f0f9d583
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
a99766fd
...
...
@@ -272,7 +272,7 @@ void flushAppendOnlyFile(int force) {
* active, and when the above two conditions are missing.
* We also use an additional event name to save all samples which is
* useful for graphing / monitoring purposes. */
if
(
s
erver
.
aof_flush_postponed_start
!=
0
)
{
if
(
s
ync_in_progress
)
{
latencyAddSampleIfNeeded
(
"aof-write-pending-fsync"
,
latency
);
}
else
if
(
server
.
aof_child_pid
!=
-
1
||
server
.
rdb_child_pid
!=
-
1
)
{
latencyAddSampleIfNeeded
(
"aof-write-active-child"
,
latency
);
...
...
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