Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4e941eca
Commit
4e941eca
authored
Dec 30, 2010
by
antirez
Browse files
short but important comment added
parent
31222292
Changes
1
Show whitespace changes
Inline
Side-by-side
src/db.c
View file @
4e941eca
...
@@ -28,7 +28,9 @@ robj *lookupKey(redisDb *db, robj *key) {
...
@@ -28,7 +28,9 @@ robj *lookupKey(redisDb *db, robj *key) {
return
val
;
return
val
;
}
else
{
}
else
{
/* FIXME: Check if the object is on disk, if it is, load it
/* FIXME: Check if the object is on disk, if it is, load it
* in a blocking way now. */
* in a blocking way now. If we are sure there are no collisions
* it would be cool to load this directly here without IO thread
* help. */
server
.
stat_keyspace_misses
++
;
server
.
stat_keyspace_misses
++
;
return
NULL
;
return
NULL
;
}
}
...
...
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