Skip to content

durability: Fix task leak#2875

Merged
kim merged 1 commit into
masterfrom
kim/durability-task-leak
Jun 27, 2025
Merged

durability: Fix task leak#2875
kim merged 1 commit into
masterfrom
kim/durability-task-leak

Conversation

@kim
Copy link
Copy Markdown
Contributor

@kim kim commented Jun 17, 2025

The FlushAndSyncTask kept running after the local durability was dropped. Fix by downgrading the commitlog handle to a weak pointer.

Expected complexity level and risk

1

Testing

Discovered using tokio-console.

The `FlushAndSyncTask` kept running after the local durability was
dropped. Fix by downgrading the commitlog handle to a weak pointer.
@kim kim requested a review from Shubham8287 June 17, 2025 05:36
@bfops bfops added the release-any To be landed in any release window label Jun 23, 2025
@kim kim added this pull request to the merge queue Jun 27, 2025
Merged via the queue into master with commit 47fd168 Jun 27, 2025
21 checks passed
joshua-spacetime pushed a commit that referenced this pull request Jul 1, 2025
joshua-spacetime pushed a commit that referenced this pull request Jul 1, 2025
@kim kim deleted the kim/durability-task-leak branch May 7, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants