Skip to content

QQ/Streams: Ensure open file handles are closed when a queue is deleted. #14127

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 26, 2025

Conversation

kjnilsson
Copy link
Contributor

Whilst a session or channel has one open.

@kjnilsson kjnilsson force-pushed the close-segments-for-deleted-queue branch from da43bca to 1537153 Compare June 25, 2025 15:02
@kjnilsson kjnilsson marked this pull request as ready for review June 25, 2025 15:02
@kjnilsson kjnilsson added this to the 4.1.2 milestone Jun 25, 2025
@kjnilsson kjnilsson force-pushed the close-segments-for-deleted-queue branch from 1537153 to 6bf081b Compare June 25, 2025 15:05
@michaelklishin michaelklishin modified the milestones: 4.1.2, 4.2.0 Jun 25, 2025
If a stream or quorum queue has opened a file to read a consumer message
and the queue is deleted the file handle reference is lost and kept
open until the end of the channel lifetime.
@kjnilsson kjnilsson force-pushed the close-segments-for-deleted-queue branch from 6bf081b to c688169 Compare June 26, 2025 08:35
@kjnilsson kjnilsson merged commit 268ff69 into main Jun 26, 2025
566 of 567 checks passed
@kjnilsson kjnilsson deleted the close-segments-for-deleted-queue branch June 26, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants