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
f3a17288
Commit
f3a17288
authored
Apr 22, 2020
by
antirez
Browse files
Tracking: signal key as modified when evicting.
parent
e63bb7ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/evict.c
View file @
f3a17288
...
...
@@ -569,6 +569,7 @@ int freeMemoryIfNeeded(void) {
dbAsyncDelete
(
db
,
keyobj
);
else
dbSyncDelete
(
db
,
keyobj
);
signalModifiedKey
(
NULL
,
db
,
keyobj
);
latencyEndMonitor
(
eviction_latency
);
latencyAddSampleIfNeeded
(
"eviction-del"
,
eviction_latency
);
latencyRemoveNestedEvent
(
latency
,
eviction_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