Skip to content

feat(cdi): Remove CallContext.close() #1776

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

adutra
Copy link
Contributor

@adutra adutra commented Jun 2, 2025

Now that every catalog created by PolarisCallContextCatalogFactory is correctly closed by IcebergCatalogAdapter, we can finally remove the CallContext.close() method and the associated cloaseables group. This PR also removes the dispose method in QuarkusProducers.

This simplification will hopefully pave the way to a more robust handling of request-scoped beans in task executor threads.

Now that every catalog created by PolarisCallContextCatalogFactory is correctly closed by IcebergCatalogAdapter, we can finally remove the CallContext.close() method and the associated cloaseables group.

This simplification will hopefully pave the way to a more robust handling of request-scoped beans in task executor threads.
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Jun 2, 2025
@flyrain
Copy link
Contributor

flyrain commented Jun 3, 2025

every catalog created by PolarisCallContextCatalogFactory is correctly closed by IcebergCatalogAdapter

Just to confirm, is this fixed by PR #1224?

@adutra
Copy link
Contributor Author

adutra commented Jun 3, 2025

every catalog created by PolarisCallContextCatalogFactory is correctly closed by IcebergCatalogAdapter

Just to confirm, is this fixed by PR #1224?

Yes!

@eric-maynard eric-maynard merged commit 0a9a5d9 into apache:main Jun 3, 2025
9 of 11 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Jun 3, 2025
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.

5 participants