回退对DN_OLAP.py的修改

This commit is contained in:
Cross-罗
2020-12-22 19:21:24 +08:00
committed by Gitee
parent e76dadec2c
commit 5b84ef690c

View File

@ -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)