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

RemoveRangeByRank lock by rmutex #234

Open
Thoren-byte opened this issue Dec 4, 2024 · 0 comments
Open

RemoveRangeByRank lock by rmutex #234

Thoren-byte opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Thoren-byte
Copy link
Contributor

Operating System

linux

Go Version

go 1.17

Package Version

github.com/bytedance/gopkg v0.0.0-20230728082804-614d0af6619b

Affected Packages

collection/zset

Expected Behavior

concurrent-safety sorted set, RemoveRangeByRank means removes all elements in the sorted set stored with rank between start and stop

Actual Behavior

panic due to RemoveRangeByRank lock by rmutex

Reproduction Steps

RemoveRangeByRank concurrently.

Other Information

No response

@Thoren-byte Thoren-byte added the bug Something isn't working label Dec 4, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 4, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 4, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 4, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 10, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 10, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 10, 2024
Thoren-byte added a commit to Thoren-byte/gopkg that referenced this issue Dec 11, 2024
zhangyunhao116 pushed a commit to Thoren-byte/gopkg that referenced this issue Dec 12, 2024
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
Development

No branches or pull requests

1 participant