提交 fb1e9e0c 编写于 作者: H Heikki Linnakangas 提交者: Xin Zhang

Replication ports are no more, update gpdemo script

上级 f6401bc5
......@@ -26,8 +26,7 @@ STANDBYDIR=$DATADIRS/standby
# Database Ports
# ======================================================================
# Note there are 2 ports per segment (postmaster port + replication_port)
for (( i=0; i<`expr 4 \* $NUM_PRIMARY_MIRROR_PAIRS`; i++ )); do
for (( i=0; i<`expr 2 \* $NUM_PRIMARY_MIRROR_PAIRS`; i++ )); do
PORT_NUM=`expr $DEMO_PORT_BASE + $i`
DEMO_SEG_PORTS_LIST="$DEMO_SEG_PORTS_LIST $PORT_NUM"
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册