-
Notifications
You must be signed in to change notification settings - Fork 26
[DPE-6056] Add preload libs to regular startup parameters #741
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
☔ View full report in Codecov by Sentry. |
logger = logging.getLogger(__name__) | ||
|
||
TIMEOUT = 600 | ||
TIMEOUT = 900 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bin_dir: /snap/charmed-postgresql/current/usr/lib/postgresql/{{ version }}/bin | ||
data_dir: {{ data_path }} | ||
parameters: | ||
shared_preload_libraries: 'timescaledb,pgaudit' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does CI tests passed with this line? LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the issue affects only the followers, which is why the tests pass. I think going forward we should try to move most (all?) bootstrap params into the regular params, so we have a single source of truth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. the patch should work AS IS, AFAIK. Do you want to merge it or proceed with refactoring now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. the patch should work AS IS, AFAIK. Do you want to merge it or proceed with refactoring now?
Let's merge this as is and leave the refactoring for better days.
Should fix missing preload libs during upgrade
Port of canonical/postgresql-k8s-operator#774