You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by yj...@apache.org on 2026/05/15 16:27:07 UTC
(cloudberry) branch orca/string-stats-ordering created (now ad0b69fbcad)
This is an automated email from the ASF dual-hosted git repository.
yjhjstz pushed a change to branch orca/string-stats-ordering
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
at ad0b69fbcad PAX: fix pax_inject_fault flaky test
This branch includes the following new commits:
new ad0b69fbcad PAX: fix pax_inject_fault flaky test
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
(cloudberry) 01/01: PAX: fix pax_inject_fault flaky test
Posted by yj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yjhjstz pushed a commit to branch orca/string-stats-ordering
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit ad0b69fbcad2dd715b4e165620a2d2ce8fa49583
Author: Jianghua Yang <yj...@gmail.com>
AuthorDate: Sat May 16 00:26:51 2026 +0800
PAX: fix pax_inject_fault flaky test
Move the failing INSERT inside -- start_ignore so non-deterministic
crash recovery messages (DETAIL/HINT/WARNING from postmaster killing
other backends after a PANIC) are prefixed with GP_IGNORE: by
atmsort.pm and ignored by the diff comparison.
---
contrib/pax_storage/expected/pax_inject_fault.out | 5 ++---
contrib/pax_storage/sql/pax_inject_fault.sql | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/contrib/pax_storage/expected/pax_inject_fault.out b/contrib/pax_storage/expected/pax_inject_fault.out
index 9d7ff49db2d..0868fe1968c 100644
--- a/contrib/pax_storage/expected/pax_inject_fault.out
+++ b/contrib/pax_storage/expected/pax_inject_fault.out
@@ -25,10 +25,9 @@ HINT: Inject an infinite 'skip' into the 'fts_probe' fault to disable FTS probi
Success:
(3 rows)
--- failed because of fault injection
-insert into t_insert select generate_series(1,10);
-ERROR: fault triggered, fault name:'orc_writer_write_tuple' fault type:'panic'
-- start_ignore
+-- failed because of fault injection; crash recovery messages are non-deterministic
+insert into t_insert select generate_series(1,10);
-- clear the fault inject, so the next insert will success.
-- put the reset operation in ignore range
select gp_inject_fault('orc_writer_write_tuple','reset',dbid) FROM gp_segment_configuration WHERE role = 'p' AND content > -1;
diff --git a/contrib/pax_storage/sql/pax_inject_fault.sql b/contrib/pax_storage/sql/pax_inject_fault.sql
index 0cced2bc1ad..e210023c1a7 100644
--- a/contrib/pax_storage/sql/pax_inject_fault.sql
+++ b/contrib/pax_storage/sql/pax_inject_fault.sql
@@ -2,10 +2,10 @@ create table t_insert(a int);
select gp_inject_fault_infinite('fts_probe','skip',dbid) FROM gp_segment_configuration WHERE role = 'p' AND content = -1;
select gp_request_fts_probe_scan();
select gp_inject_fault('orc_writer_write_tuple','panic',dbid) FROM gp_segment_configuration WHERE role = 'p' AND content > -1;
--- failed because of fault injection
-insert into t_insert select generate_series(1,10);
-- start_ignore
+-- failed because of fault injection; crash recovery messages are non-deterministic
+insert into t_insert select generate_series(1,10);
-- clear the fault inject, so the next insert will success.
-- put the reset operation in ignore range
select gp_inject_fault('orc_writer_write_tuple','reset',dbid) FROM gp_segment_configuration WHERE role = 'p' AND content > -1;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org