minor changes to doc and comments

This commit is contained in:
antirez
2010-12-31 18:23:31 +01:00
parent d934e1e85b
commit aa81e4d5f4
3 changed files with 25 additions and 69 deletions

View File

@ -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);

View File

@ -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: