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

It's not an automatic fail, if some WAL records were created during test.

WAL could be created e.g. by checkpoints, or some background activity that
sets hint bits. Such activity might cause a failure, if a data file is
modified in the master, but the change has not been replayed in the standby
yet. But just because it can make our check to fail, doesn't mean we need
to treat it as an automatic failure. Keep the warning, but consider the test
as a success, if the check itself found nothing wrong.
上级 189ca232
......@@ -524,7 +524,6 @@ gp_replica_check(PG_FUNCTION_ARGS)
ereport(WARNING,
(errmsg("results may not be correct"),
errdetail("IO may have been performed during the check")));
PG_RETURN_BOOL(false);
}
PG_RETURN_BOOL(dir_equal);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册