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: add missing transaction block on CatalogService #3680

Merged

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Dec 1, 2023

What this PR changes/adds

Add missing transaction block on CatalogService

Why it does that

To ensure that all the database calls are finalized correctly

Further notes

  • to better handling Stream over cursor all the service will always return only collected iterables and not streams, and the operations will be wrapped by transaction blocks, that will take care of finalizing the connections.

Linked Issue(s)

Closes #3640

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added bug_report Suspected bugs, awaiting triage bug Something isn't working and removed bug_report Suspected bugs, awaiting triage labels Dec 1, 2023
@ndr-brt ndr-brt merged commit 18a6abf into eclipse-edc:main Dec 1, 2023
21 of 24 checks passed
@ndr-brt ndr-brt deleted the 3640-add-missing-transaction-block branch December 1, 2023 14:19
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
3 participants