Chunked loading of RDB to prevent redis from stalling reading very large keys.

This commit is contained in:
yoav
2012-12-12 15:59:22 +02:00
committed by antirez
parent 112e763618
commit 9f6f436a51
5 changed files with 45 additions and 15 deletions

View File

@ -596,6 +596,7 @@ struct redisServer {
off_t loading_total_bytes;
off_t loading_loaded_bytes;
time_t loading_start_time;
off_t loading_process_events_interval_bytes;
/* Fast pointers to often looked up command */
struct redisCommand *delCommand, *multiCommand, *lpushCommand, *lpopCommand,
*rpopCommand;