Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADBDEV-6811 Throw out fault injector code blocks for release builds #1224

Open
wants to merge 7 commits into
base: adb-6.x-dev
Choose a base branch
from

Conversation

dkovalev1
Copy link

@dkovalev1 dkovalev1 commented Feb 12, 2025

Exclude fault injector test code for release build. It shall provide better
performance by removing test only code with consequent simplifying of functions
and avoid running sub-optimal test code.

This commit is based on 7.x commit 4111340

Co-authored-by: Hao Wu [email protected]

gfphoenix78 and others added 2 commits February 12, 2025 13:08
Definition FAULT_INJECTOR is hardcoded in a header(pg_config_manual.h)
file.  Fault injector is useful, but it may introduce some issues in
production stage, like runtime cost, security problems.  It's better
to enable this feature in development and disable it in release.  The
--enable-debug-extensions configure option is used to control this
feature.
configure.in Outdated Show resolved Hide resolved
configure.in Outdated Show resolved Hide resolved
d and others added 3 commits February 13, 2025 09:48
There was a runaway space and a stale message that didn't match the real
flag. Correct those because well, they are wrong, but also because
otherwise `autoreconf` and friends refuse to generate configure from
configure.in.
@RekGRpth

This comment was marked as resolved.

@RekGRpth
Copy link
Member

How do you plan to merge the patch? Rebase or squash?

Copy link

@silent-observer silent-observer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dkovalev1
Copy link
Author

This commit is based on 7.x commit 1dddbed

is it right link?

corrected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants