提交 874fcdc5 编写于 作者: A Ashwin Agrawal

Remove incorrect isRoleMirror assertion for FTS_PROMOTE_SUCCESS.

Incase promote message is send twice while mirror already undergoing promotion,
isRoleMirror can be retruned as false. ON mirror in this case promote message is
ignored. So, on master fts shouldn't check what the isRoleMirror returns.
上级 d453a4aa
......@@ -1139,7 +1139,6 @@ processResponse(fts_context *context)
ftsInfo->state = FTS_RESPONSE_PROCESSED;
break;
case FTS_PROMOTE_SUCCESS:
Assert(ftsInfo->result.isRoleMirror);
elogif(gp_log_fts >= GPVARS_VERBOSITY_VERBOSE, LOG,
"FTS mirror (content=%d, dbid=%d) promotion "
"triggerred successfully",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册