提交 3e1332ad 编写于 作者: S Soumyadeep Chakraborty

Skip the fts probe on the master instead of the primary

We accidentally skipped the fts probe on the primary in
f2ca17a0 when it should be skipped on the master. The fault point
'fts_probe' can only be encountered on the master.
上级 f47d4ff7
......@@ -67,7 +67,7 @@ create or replace function setup(content_id integer, fault_name text, fault_acti
-- intentionally skip fts during these tests
-- we know we're going to be inducing errors and panics on primaries
perform gp_inject_fault_infinite2('fts_probe', 'skip', dbid, hostname, port) from gp_segment_configuration where content = content_id and role = 'p';
perform gp_inject_fault_infinite2('fts_probe', 'skip', dbid, hostname, port) from gp_segment_configuration where content = -1 and role = 'p';
end;
$$ LANGUAGE plpgsql;
......
......@@ -65,7 +65,7 @@ create or replace function setup(content_id integer, fault_name text, fault_acti
-- intentionally skip fts during these tests
-- we know we're going to be inducing errors and panics on primaries
perform gp_inject_fault_infinite2('fts_probe', 'skip', dbid, hostname, port) from gp_segment_configuration where content = content_id and role = 'p';
perform gp_inject_fault_infinite2('fts_probe', 'skip', dbid, hostname, port) from gp_segment_configuration where content = -1 and role = 'p';
end;
$$ LANGUAGE plpgsql;
create or replace function cleanup(content_id integer, tablespace_location_dir text) returns void as $$
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册