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

Fix for Postgres connection leak bug #208

Merged
merged 9 commits into from
Mar 12, 2022

Conversation

clockworksoul
Copy link
Member

A significant bug fix. The issue was traced to how transactions were being handled in the bundle code. Required a larger set of structural changes than I expected, but all seems to be working correctly now. Also added tests to detect any future regressions of this issue.

fixes #205

@clockworksoul clockworksoul added the bug Something isn't working label Mar 12, 2022
@clockworksoul clockworksoul linked an issue Mar 12, 2022 that may be closed by this pull request
@clockworksoul clockworksoul merged commit 54cf6b5 into getgort:develop Mar 12, 2022
clockworksoul added a commit to clockworksoul/gort that referenced this pull request Jun 17, 2022
clockworksoul added a commit that referenced this pull request Jun 30, 2022
* Update TODO

* Minor: command help output formatting (#200)

Fix help output formatting for various commands.

* WIP: allow kubernetes Secrets to be injected into the worker's environment (#189)

Allow kubernetes Secrets to be injected into the worker's environment (#189)

* Rename config.IsDefined to simply config.Defined (#206)

* Fix for Postgres connection leak bug (#208)

* Fix for database creation bug (#183)

* Upgrade Go version and dependencies

* Version fix

* Ignore VS Code workspaces

* Oops

* Bump version in Github Actions for parity with mod file

* Rm accidental file

Co-authored-by: Matthew Titmus <mtitmus@yext.com>
Co-authored-by: Matt Miller <msm93v2@gmail.com>
clockworksoul added a commit that referenced this pull request Jul 2, 2022
* Update TODO

* Minor: command help output formatting (#200)

Fix help output formatting for various commands.

* WIP: allow kubernetes Secrets to be injected into the worker's environment (#189)

Allow kubernetes Secrets to be injected into the worker's environment (#189)

* Rename config.IsDefined to simply config.Defined (#206)

* Fix for Postgres connection leak bug (#208)

* Fix for database creation bug (#183)

* Ignore VS Code workspaces

* Oops

Co-authored-by: Matthew Titmus <mtitmus@yext.com>
Co-authored-by: Matt Miller <msm93v2@gmail.com>
clockworksoul added a commit that referenced this pull request Jul 2, 2022
* Update TODO

* Minor: command help output formatting (#200)

Fix help output formatting for various commands.

* WIP: allow kubernetes Secrets to be injected into the worker's environment (#189)

Allow kubernetes Secrets to be injected into the worker's environment (#189)

* Rename config.IsDefined to simply config.Defined (#206)

* Fix for Postgres connection leak bug (#208)

* Fix for database creation bug (#183)

* Ignore VS Code workspaces

* Oops

* Minor: make slice definitions idiomatic

* Restore one declaration to prevent nil returns

Co-authored-by: Matthew Titmus <mtitmus@yext.com>
Co-authored-by: Matt Miller <msm93v2@gmail.com>
clockworksoul added a commit that referenced this pull request Jul 2, 2022
* Update TODO

* Minor: command help output formatting (#200)

Fix help output formatting for various commands.

* WIP: allow kubernetes Secrets to be injected into the worker's environment (#189)

Allow kubernetes Secrets to be injected into the worker's environment (#189)

* Rename config.IsDefined to simply config.Defined (#206)

* Fix for Postgres connection leak bug (#208)

* Fix for database creation bug (#183)

* Ignore VS Code workspaces

* Oops

Co-authored-by: Matthew Titmus <mtitmus@yext.com>
Co-authored-by: Matt Miller <msm93v2@gmail.com>
@clockworksoul clockworksoul deleted the connection-leak branch July 2, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DAL: postgres connections not being closed
1 participant