未验证 提交 4a347206 编写于 作者: W Wang Hao 提交者: GitHub

Skip start the stats sender process when gpperfmon not enabled (#8126)

Before GP6, the stats sender process works for gpperfmon and metrics
collector. If any of them enabled, stats sender should start.
From GP6 metrics collector become a standalone bgworker.
So this commit fix startup condition for stats sender, now it only
starts when gpperfmon enabled.
上级 686874e9
......@@ -87,9 +87,7 @@ void SegmentInfoSenderMain(Datum main_arg)
bool
SegmentInfoSenderStartRule(Datum main_arg)
{
/*
* TODO: is this correct? either GUC is on will turn on this auxiliary process ? */
if (!gp_enable_gpperfmon && !gp_enable_query_metrics)
if (!gp_enable_gpperfmon)
return false;
/* FIXME: even for the utility mode? */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册