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
5ab7bbfc
Commit
5ab7bbfc
authored
Jan 03, 2011
by
antirez
Browse files
fixed logging level for debugging message
parent
bafa88c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
5ab7bbfc
...
@@ -50,7 +50,7 @@ robj *lookupKey(redisDb *db, robj *key) {
...
@@ -50,7 +50,7 @@ robj *lookupKey(redisDb *db, robj *key) {
cacheScheduleIOGetFlags
(
db
,
key
)
&
REDIS_IO_SAVEINPROG
)
cacheScheduleIOGetFlags
(
db
,
key
)
&
REDIS_IO_SAVEINPROG
)
{
{
/* Need to wait for the key to get unbusy */
/* Need to wait for the key to get unbusy */
redisLog
(
REDIS_
WARNIN
G
,
"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)"
);
redisLog
(
REDIS_
DEBU
G
,
"Lookup found a key in SAVEINPROG state. Waiting. (Key was in the cache)"
);
lookupWaitBusyKey
(
db
,
key
);
lookupWaitBusyKey
(
db
,
key
);
}
}
server
.
stat_keyspace_hits
++
;
server
.
stat_keyspace_hits
++
;
...
@@ -76,7 +76,7 @@ robj *lookupKey(redisDb *db, robj *key) {
...
@@ -76,7 +76,7 @@ robj *lookupKey(redisDb *db, robj *key) {
/* At this point we need to blocking load the key in memory.
/* At this point we need to blocking load the key in memory.
* The first thing we do is waiting here if the key is busy. */
* The first thing we do is waiting here if the key is busy. */
if
(
flags
&
REDIS_IO_SAVEINPROG
)
{
if
(
flags
&
REDIS_IO_SAVEINPROG
)
{
redisLog
(
REDIS_
WARNIN
G
,
"Lookup found a key in SAVEINPROG state. Waiting (while force loading)."
);
redisLog
(
REDIS_
DEBU
G
,
"Lookup found a key in SAVEINPROG state. Waiting (while force loading)."
);
lookupWaitBusyKey
(
db
,
key
);
lookupWaitBusyKey
(
db
,
key
);
}
}
...
...
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