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

Block postmaster startup if clientauth background workers fail to register #254

Merged
merged 6 commits into from
Dec 20, 2023

Conversation

adamguo0
Copy link
Contributor

Issue #, if available: #252

Description of changes: On init, check if clientauth's workers have been added to the registration list. If any are missing then fail postmaster startup. Emit an error for administrator to check max_worker_processes and pgtle.clientauth_num_parallel_workers.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

src/clientauth.c Outdated Show resolved Hide resolved
@adamguo0 adamguo0 merged commit 71068f8 into aws:main Dec 20, 2023
7 checks passed
@adamguo0 adamguo0 deleted the fix_252 branch December 20, 2023 01:45
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.

2 participants