"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/aof.c" between
redis-6.2.4.tar.gz and redis-6.2.5.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

aof.c  (redis-6.2.4):aof.c  (redis-6.2.5)
skipping to change at line 165 skipping to change at line 165
int level = ((numblocks+1) % 100) == 0 ? LL_WARNING : int level = ((numblocks+1) % 100) == 0 ? LL_WARNING :
LL_NOTICE; LL_NOTICE;
serverLog(level,"Background AOF buffer size: %lu MB", serverLog(level,"Background AOF buffer size: %lu MB",
aofRewriteBufferSize()/(1024*1024)); aofRewriteBufferSize()/(1024*1024));
} }
} }
} }
/* Install a file event to send data to the rewrite child if there is /* Install a file event to send data to the rewrite child if there is
* not one already. */ * not one already. */
if (aeGetFileEvents(server.el,server.aof_pipe_write_data_to_child) == 0) { if (!server.aof_stop_sending_diff &&
aeGetFileEvents(server.el,server.aof_pipe_write_data_to_child) == 0)
{
aeCreateFileEvent(server.el, server.aof_pipe_write_data_to_child, aeCreateFileEvent(server.el, server.aof_pipe_write_data_to_child,
AE_WRITABLE, aofChildWriteDiffData, NULL); AE_WRITABLE, aofChildWriteDiffData, NULL);
} }
} }
/* Write the buffer (possibly composed of multiple blocks) into the specified /* Write the buffer (possibly composed of multiple blocks) into the specified
* fd. If a short write or any other error happens -1 is returned, * fd. If a short write or any other error happens -1 is returned,
* otherwise the number of bytes written is returned. */ * otherwise the number of bytes written is returned. */
ssize_t aofRewriteBufferWrite(int fd) { ssize_t aofRewriteBufferWrite(int fd) {
listNode *ln; listNode *ln;
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)