From abe8a6c0ce24b6ffc94c325ee6cb297c13041eec Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Wed, 28 Sep 2022 17:47:47 +0800 Subject: [PATCH] fix lite switchover timeout problem --- src/gausskernel/process/postmaster/postmaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gausskernel/process/postmaster/postmaster.cpp b/src/gausskernel/process/postmaster/postmaster.cpp index a535ca404..0d235cc28 100644 --- a/src/gausskernel/process/postmaster/postmaster.cpp +++ b/src/gausskernel/process/postmaster/postmaster.cpp @@ -5621,7 +5621,7 @@ static void ProcessDemoteRequest(void) if (g_instance.pid_cxt.UndoLauncherPID != 0) signal_child(g_instance.pid_cxt.UndoLauncherPID, SIGTERM); -#if !defined(ENABLE_MULTIPLE_NODES) && !defined(ENABLE_LITE_MODE) +#ifndef ENABLE_MULTIPLE_NODES if (g_instance.pid_cxt.ApplyLauncerPID != 0) signal_child(g_instance.pid_cxt.ApplyLauncerPID, SIGTERM); #endif