-
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.
[#23787] YSQL: Avoid executing conn mgr guc variables hooks for paral…
…lel workers Summary: This diff avoids executing check/assign hooks of ysql connection manager specific guc variables while initialising the parallel background worker. **Reason for crash** The hooks for connection manager specific guc variables `yb_is_client_ysqlconnmgr`, `yb_use_tserver_key_auth` were failing for parallel background workers. These guc variables are set by ysql connection manager while creating the physical connections and expects connections to be of unix socket type. Whereas for parallel background workers created by postmaster it's not necessary nor these guc variables are applicable. Therefore avoiding the hooks. This diff fixes the tests mentioned in test plan which used to fail due to same above reason. Tests are failing only with tsan build but not due to this diff/reason, it's been tracked here [[ https://yugabyte.atlassian.net/browse/DB-12641 | DB-12641 ]] Jira: DB-12690 Test Plan: Jenkins: enable connection manager, test regex: .*PgParallelReadIsolation.*|.*PgTransparentRestarts.* Reviewers: skumar, asrinivasan, stiwary, devansh.saxena, rbarigidad Reviewed By: skumar, stiwary Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D37767
- Loading branch information
Manav Kumar
committed
Sep 5, 2024
1 parent
4c6cf5a
commit f24eb10
Showing
6 changed files
with
38 additions
and
3 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