Use strcmp for string comparison.
On my laptop, with gcc -O, these comparisons didn't work as intended, and as result, the FTS probe messages were not processed, and gp_segment_configuration always claimed the mirrors to be down, even though they were running OK.
Showing
想要评论请 注册 或 登录