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

Slot migrating does not work when slotmigrate-thread-num greater than 1. #2545

Closed
vacheli opened this issue Mar 22, 2024 · 5 comments
Closed
Labels
☢️ Bug Something isn't working

Comments

@vacheli
Copy link
Contributor

vacheli commented Mar 22, 2024

Is this a regression?

Yes

Description

Run benchmark command to generate data.
vire-benchmark -h 172.19.25.53 -p 19000 -e -t zadd -r 10000000 -n 5000000 -c 100 -d 200 -S sortedset

[group1]
[root@172.19.25.52 data]# redis-cli -p 9221 127.0.0.1:9221> scard _internal:slotkey:4migrate:512 (integer) 3828 127.0.0.1:9221>

Migrate slots([512-1023]) from group1 to group2.

[group2]

get slot info after run migrating slot command

[root@172.19.25.54 data]# redis-cli -p 9221 127.0.0.1:9221> scard _internal:slotkey:4migrate:512 (integer) 2572

The migration task is pending in this status.
image

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

Version: v3.5.3
OS: Alibaba Cloud Linux 3

Anything else?

No response

@vacheli vacheli added the ☢️ Bug Something isn't working label Mar 22, 2024
@chejinge
Copy link
Collaborator

您好 您的环境出错的原因是没有配置 key-num这个迁移参数

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Hello, the reason for the error in your environment is that the key-num migration parameter is not configured.

@vacheli
Copy link
Contributor Author

vacheli commented Mar 28, 2024

image

@chejinge
Copy link
Collaborator

好的收到

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Alright, I got it

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

3 participants