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 9d520a7f70
commit 63d15dfc87
5 changed files with 45 additions and 15 deletions

View File

@ -108,6 +108,8 @@ static const rio rioBufferIO = {
rioBufferTell,
NULL, /* update_checksum */
0, /* current checksum */
0, /* bytes read or written */
0, /* read/write chunk size */
{ { NULL, 0 } } /* union for io-specific vars */
};
@ -117,6 +119,8 @@ static const rio rioFileIO = {
rioFileTell,
NULL, /* update_checksum */
0, /* current checksum */
0, /* bytes read or written */
0, /* read/write chunk size */
{ { NULL, 0 } } /* union for io-specific vars */
};