From 5b84ef690c21cbc1fcc2b0dfcf6afe190f95f243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cross-=E7=BD=97?= <1165977584@qq.com> Date: Tue, 22 Dec 2020 19:21:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=E5=AF=B9DN=5FOLAP.py?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../om/script/gspylib/component/Kernel/DN_OLAP/DN_OLAP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manager/om/script/gspylib/component/Kernel/DN_OLAP/DN_OLAP.py b/src/manager/om/script/gspylib/component/Kernel/DN_OLAP/DN_OLAP.py index 7acd7358a..29f120378 100644 --- a/src/manager/om/script/gspylib/component/Kernel/DN_OLAP/DN_OLAP.py +++ b/src/manager/om/script/gspylib/component/Kernel/DN_OLAP/DN_OLAP.py @@ -382,12 +382,12 @@ class DN_OLAP(Kernel): self.setPrimaryStandyConnInfo(peerInsts) else: tmpDict1 = {} - tmpDict1["synchronous_commit"] = "on" + tmpDict1["synchronous_commit"] = "off" self.setGucConfig(tmpDict1) if syncNum == 0 or (syncNum == -1 and len(peerInsts) == 1): tmpDict1 = {} - tmpDict1["synchronous_commit"] = "on" + tmpDict1["synchronous_commit"] = "off" self.setGucConfig(tmpDict1)