why full sync (using disk) read and send rdb file in main process

29 views
Skip to first unread message

liuweip...@gmail.com

unread,
May 29, 2018, 9:04:57 AM5/29/18
to Redis DB
I find that "sendBulkToSlave" in updateSlavesWaitingBgsave will read 16k data in tmp rdb file and send it to slave
why doesn't do this in a child process? Read data from disk may cause unnecessary latency ? BTW, the diskless 
mode send rdb in child process using block socket.
Reply all
Reply to author
Forward
0 new messages