[Fix] FreeHeapBlock should check if the addr is in the redis heap.
Since the forked process allocates the memory from the system heap, it must verify if the address is in the system heap or in the redis heap before freeing it. Changed dictRehash to NOOP when called by the forked process to avoid extra processing that is not required when the forked process is saving the dataset.
Showing
想要评论请 注册 或 登录