提交 fb2a077e 编写于 作者: Y yanchaozhong 提交者: Nadeem Ghani

update minAllowedPort of gpaddmirrors

Because the default offset is 1000, the default min port is 5432
(primary port + offset = mirror database port)
so, the default minAllowedPort should be 6432

minPort = min([seg.getSegmentPort() for seg in gpArray.getDbList()])
上级 313abac2
......@@ -455,7 +455,7 @@ class GpAddMirrorsProgram:
"""
maxAllowedPort = 61000
minAllowedPort = 7000
minAllowedPort = 6432
minPort = min([seg.getSegmentPort() for seg in gpArray.getDbList()])
maxPort = max([seg.getSegmentPort() for seg in gpArray.getDbList()])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册