From f48be238b17c4ec38006a88a87c1d8afb5e8ec8b Mon Sep 17 00:00:00 2001 From: christianEQ Date: Fri, 11 Jun 2021 18:17:18 +0000 Subject: [PATCH] removed outdated comment in server.cpp Former-commit-id: 98f08034a13341059b9b1690989e7ef0207ac920 --- src/server.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 3d5c70faa..045938657 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4635,10 +4635,6 @@ int prepareForShutdown(int flags) { overwrite the synchronous saving did by SHUTDOWN. */ if (g_pserver->child_type == CHILD_TYPE_RDB) { serverLog(LL_WARNING,"There is a child saving an .rdb. Killing it!"); - /* Note that, in killRDBChild, we call rdbRemoveTempFile that will - * do close fd(in order to unlink file actully) in background thread. - * The temp rdb file fd may won't be closed when redis exits quickly, - * but OS will close this fd when process exits. */ killRDBChild(); /* Note that, in killRDBChild normally has backgroundSaveDoneHandler * doing it's cleanup, but in this case this code will not be reached,