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

fix:slots rebalance error and replication stats error when use pika o… #2651

Merged
merged 2 commits into from
May 15, 2024

Conversation

chejinge
Copy link
Collaborator

@chejinge chejinge commented May 14, 2024

1.这个PR主要是修复slotsrebalance可能分配不均衡的问题:
以前是等待最大的group_id的master注册成功后去均衡,现在是等待所有的
2.修复注册之后有的group主从关系绑定失败的问题
3.添加一键部署脚本和部署调试脚本

…perater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
@github-actions github-actions bot added the ☢️ Bug Something isn't working label May 14, 2024
@@ -45,6 +45,15 @@ wait_master_registered() {
done
}

wait_all_master_registered() {
for ((group_id=1; group_id <= GROUP_ID; group_id++)); do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

group_id=1 改为 group_id = 1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

group_id=1 改为 group_id = 1

done

…perater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
@AlexStocks AlexStocks merged commit a0fc8a1 into OpenAtomFoundation:unstable May 15, 2024
16 checks passed
chejinge added a commit that referenced this pull request May 15, 2024
#2651)

* fix:slots rebalance error and replication stats error when use pika operater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
chenbt-hz pushed a commit to chenbt-hz/pika that referenced this pull request Jun 3, 2024
OpenAtomFoundation#2651)

* fix:slots rebalance error and replication stats error when use pika operater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
OpenAtomFoundation#2651)

* fix:slots rebalance error and replication stats error when use pika operater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
@chejinge chejinge deleted the fix_pika_operater branch June 24, 2024 06:06
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
OpenAtomFoundation#2651)

* fix:slots rebalance error and replication stats error when use pika operater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
OpenAtomFoundation#2651)

* fix:slots rebalance error and replication stats error when use pika operater

* Update replication_test.go

---------

Co-authored-by: chejinge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.5.4 4.0.0 ☢️ Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants