You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/03/29 10:33:32 UTC

[GitHub] [incubator-pegasus] zhangyifan27 opened a new pull request #708: fix(script): oprimizations for pegasus_rolling_update.sh

zhangyifan27 opened a new pull request #708:
URL: https://github.com/apache/incubator-pegasus/pull/708


   ### What problem does this PR solve? <!--add issue link with summary if exists-->
   1. Prior to this patch, we set `meta.lb.add_secondary_max_count_for_one_node` 100 before rolling update a node, this may lead to unexpected replicas learning if .
   2. We only rebalance cluster after we rolling update all nodes in the cluster. But sometimes we need to rolling update one node, and the cluster became unbalanced after rolling process, because partition primaries were moved, we also need to rebalance cluster in this case.
   
   ### What is changed and how it works?
   1. Move setting `meta.lb.add_secondary_max_count_for_one_node` 100 after rolling update a node.
   2. Add `rebalance_cluster_after_rolling`(default false)  and `rebalance_only_move_primary`(default true).
   
   ### Check List <!--REMOVE the items that are not applicable-->
   
   Tests <!-- At least one of them must be included. -->
   
   - Manual test (add detailed scripts or steps below)
   Use new script rolling update a testing cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] neverchanje merged pull request #708: fix(script): optimizations for pegasus_rolling_update.sh

Posted by GitBox <gi...@apache.org>.
neverchanje merged pull request #708:
URL: https://github.com/apache/incubator-pegasus/pull/708


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org