Fix few defects when creating gang in asynchronous way
1. Remove retry mechanism for reader gang and non "in recovery mode" error, gp_segment_connect_timeout is default set to 10 mins, so it should be long enough to say we temporary lost the segments. 2. Fix "in recovery mode" retry mechanism, original codes can not recognize a in-recovery-mode error. 3. Add failure details. "failed to acquire resources on one or more segments" hide too many details. 4. Only destroy all gangs when create writer gang failed, otherwise it may clean cursor opened gangs and cause unexpected error.
Showing
想要评论请 注册 或 登录