mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
minor changes to doc and comments
This commit is contained in:
2
src/db.c
2
src/db.c
@ -19,7 +19,7 @@ robj *lookupKey(redisDb *db, robj *key) {
|
||||
|
||||
if (server.ds_enabled && val->storage == REDIS_DS_SAVING) {
|
||||
/* FIXME: change this code to just wait for our object to
|
||||
* get out of the IO Job. */
|
||||
* get out of the IO Job. As it is now it is correct but slow. */
|
||||
waitEmptyIOJobsQueue();
|
||||
processAllPendingIOJobs();
|
||||
redisAssert(val->storage != REDIS_DS_SAVING);
|
||||
|
@ -109,6 +109,8 @@
|
||||
* Also, make sure that key preloading is ONLY done for keys that are
|
||||
* not marked as cacheKeyDoesNotExist(), otherwise, again, we can load
|
||||
* data from disk that should instead be deleted.
|
||||
*
|
||||
* - dsSet() use rename(2) in order to avoid corruptions.
|
||||
*/
|
||||
|
||||
/* Virtual Memory is composed mainly of two subsystems:
|
||||
|
Reference in New Issue
Block a user