-
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.
[#24582] YSQL, ASH: Handle more interrupts in ASH collector
Summary: PG 15 added a new interrupt ProcSignalBarrierPending which is set to true after certain queries, ProcessProcSignalBarrier() must be called, otherwise ASH collector is stuck, as seen by the PgWaitEventAuxTest.NewDatabaseRPCs test. This test was created before PG 15 merge, and skipped when D38309 / 72fc467 was landed with PG 15 changes. Summary of changes - - Remove signal handlers defined in yb_ash.h - Add signal handlers for SIGINT and SIGQUIT too - Use HandleMainLoopInterrupts to handle signals Jira: DB-13621 Test Plan: Jenkins ./yb_build.sh --cxx-test pg_ash-test --gtest_filter *NewDatabaseRPCs Reviewers: jason Reviewed By: jason Subscribers: amitanand, hbhanawat, yql Differential Revision: https://phorge.dev.yugabyte.com/D39533
- Loading branch information
1 parent
42e0d9b
commit 6e87f27
Showing
2 changed files
with
8 additions
and
40 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