gpsegwalrep.py: Add rebuild operation
`rebuild` is different from `recoverfull`. It will create new directory for the new mirror with new port for given content id. `recoverfull` on the other hand will just recover all the failed mirrors using existing information in gp_segment_configuration. The both use basebackup to build the mirror. We reduce port increment to avoid over the port limit after multiple rebuild. Author: Xin Zhang <xzhang@pivotal.io> Author: Asim R P <apraveen@pivotal.io>
Showing
想要评论请 注册 或 登录