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

Occasional memory leak in std mpsc channels and crossbeam channels #17178

Open
1 of 2 tasks
Tracked by #16375
overvenus opened this issue Jun 24, 2024 · 0 comments
Open
1 of 2 tasks
Tracked by #16375

Occasional memory leak in std mpsc channels and crossbeam channels #17178

overvenus opened this issue Jun 24, 2024 · 0 comments
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 affects-6.1 affects-6.5 affects-7.1 affects-7.5 affects-8.1 severity/minor type/bug Type: Issue - Confirmed a bug

Comments

@overvenus
Copy link
Member

overvenus commented Jun 24, 2024

Bug Report

This issue can occur if a sender installs the first block right after all receivers have disconnected and checked for any existing messages, causing a memory leak.

See upstream issue report: rust-lang/rust#121582

To fix this we need to

What version of TiKV are you using?

nightly, 2024-6-23

@overvenus overvenus added the type/bug Type: Issue - Confirmed a bug label Jun 24, 2024
@overvenus overvenus added severity/minor affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 affects-6.1 affects-6.5 affects-7.1 affects-7.5 affects-8.1 labels Jun 24, 2024
ti-chi-bot bot pushed a commit that referenced this issue Jun 24, 2024
ref #17178

Fix memory leak in crossbeam-channel's unbounded channel.

Signed-off-by: Neil Shen <[email protected]>
3AceShowHand pushed a commit to 3AceShowHand/tikv that referenced this issue Jun 27, 2024
ref tikv#17178

Fix memory leak in crossbeam-channel's unbounded channel.

Signed-off-by: Neil Shen <[email protected]>
Signed-off-by: 3AceShowHand <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.0 This bug affects 4.0.x versions. affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 affects-6.1 affects-6.5 affects-7.1 affects-7.5 affects-8.1 severity/minor type/bug Type: Issue - Confirmed a bug
Projects
None yet
Development

No branches or pull requests

1 participant