-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#20922] YSQL, ASH: Update ASH gFlags
Summary: This diff splits the previous `yb_enable_ash` into two different gflags, a non-runtime PG preview flag `ysql_yb_ash_enable_infra` and a runtime PG preview flag `ysql_yb_enable_ash`. `ysql_yb_ash_enable_infra` is responsible for one-time initialization like allocating shared memory, starting the ASH collector and creating the instrumentation hooks. `ysql_yb_enable_ash` is responsible for sampling and instrumentation for YSQL queries, YCQL queries, and some background jobs like Flushes and Compactions Three new gflag wrappers `ysql_yb_ash_circular_buffer_size`, `ysql_yb_ash_sampling_interval` and `ysql_yb_ash_sample_size` are created over previous ASH GUC variables `yb_ash_circular_buffer_size`, `yb_ash_sampling_interval` and `yb_ash_sample_size`. They are not changed to preview flags since they are useless without the `ysql_yb_ash_enable_infra` and `ysql_yb_enable_ash` gflags. Jira: DB-9904 Test Plan: ./yb_build.sh --cxx-test pg_wrapper-test --gtest_filter PgWrapperFlagsTest.* Reviewers: jason, hsunder Reviewed By: jason, hsunder Subscribers: bogdan, hbhanawat, yql, ybase, amitanand Differential Revision: https://phorge.dev.yugabyte.com/D32191
- Loading branch information
1 parent
9bec1a0
commit bda4da7
Showing
40 changed files
with
222 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.