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

After the cluster expansion completes the slot migration, the total dbsize value of all shard master nodes is greater than the value before the expansion #2715

Open
2 tasks done
903174293 opened this issue Jan 8, 2025 · 0 comments
Labels
bug type bug

Comments

@903174293
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Version

v2.9.0

Minimal reproduce step

1、kvrocks version:v2.9.0
2、init env:3 shard,One master and one slave,Single Node Specifications:8C16G、disk:500GB
3、After expansion:5 shard,One master and one slave,Single Node Specifications:8C16G、disk:500GB
4、Expansion method:Calling the controller interface
5、Phenomenon:
Before expansion: the total dbsize value of all shard master nodes:12484
After expansion:the total dbsize value of all shard master nodes:12489

What did you expect to see?

The total dbsize of all master nodes is equal before and after expansion

What did you see instead?

Before expansion: the total dbsize value of all shard master nodes:12484
After expansion:the total dbsize value of all shard master nodes:12489

Anything Else?

Migration interface for controllers:
POST /api/v1/namespaces/clusters/{cluster name}/migrate
{
"target": 4,
"slot": 1000,
"slot_only": false
}

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@903174293 903174293 added the bug type bug label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug type bug
Projects
None yet
Development

No branches or pull requests

1 participant