回退对DN_OLAP.py的修改
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user