-
Notifications
You must be signed in to change notification settings - Fork 159
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
feature: apply enhanced postgres cnx mgmt to registry and scheduler modules #2103
base: main
Are you sure you want to change the base?
feature: apply enhanced postgres cnx mgmt to registry and scheduler modules #2103
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account in order to use the merge queue. Sign up using this link. |
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
0cf662b
to
a9af7e1
Compare
e78789e
to
b4b91d6
Compare
a9af7e1
to
77538a3
Compare
b4b91d6
to
3a04459
Compare
77538a3
to
f38b0e5
Compare
3a04459
to
c32d461
Compare
f38b0e5
to
c81529f
Compare
c32d461
to
f80e1d4
Compare
2022abc
to
5cfd9df
Compare
Improve PostgreSQL connection management.
Replace
execute_with_retry
toexecute_with_txn_retry
in registry and scheduler module.Notice
Some of the code that retries DB calls through the
execute_with_retry()
API has been modified to prevent further retries because the DB calls will not be retried as intended.get_*_occupancy()
APIs do not retry DB calls anymore becauseexecute_with_retry()
retries only whenSerializationError
occurs, which requires retry the entire transaction, not rolling back toCHECKPOINT
.Checklist: (if applicable)