Uh oh!
There was an error while loading. Please reload this page.
HDDS-5253. Support container move HA - #2488
Conversation
JacksonYao287
commented
Aug 3, 2021
@lokeshj1703@ChenSammi@siddhantsangwan PTAL! if the logics looks good , i will add more unit test in additional commit, thanks |
lokeshj1703
left a comment
There was a problem hiding this comment.
@JacksonYao287 Thanks for working on this PR! The changes look good. I have few minor comments inline.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
JacksonYao287
commented
Aug 9, 2021
i have updated the PR according the comments, @lokeshj1703@ChenSammi@siddhantsangwan please take a look! |
lokeshj1703
commented
Aug 9, 2021
@JacksonYao287 Can you also add a UT with HA to test the consistency of move? |
JacksonYao287
commented
Aug 9, 2021
@lokeshj1703 , sure, thanks, if the logic looks good to you now, i will add UT in a new commit |
JacksonYao287
commented
Aug 10, 2021
@lokeshj1703 I have added UT and integration tests for move HA, PTAL! |
JacksonYao287
commented
Aug 11, 2021
CI failures seems not caused by this patch, i will merge mater branch again after they are fixed! #2420 |
lokeshj1703
left a comment
There was a problem hiding this comment.
@JacksonYao287 Thanks for updating the PR! I have few minor comments. +1 o.w.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lokeshj1703
commented
Aug 11, 2021
Also we will need to make sure that balancer is always restarted on leader with the new configuration. This would be a separate PR. |
JacksonYao287
commented
Aug 12, 2021
sure , will do this |
lokeshj1703
commented
Aug 16, 2021
@JacksonYao287 We will also need to add timeout for move with the leader changes. After a leader change the move will be reset so I think we will need to handle the timeouts as well. It might require some thought. Please see if you would like to address it in this PR. |
JacksonYao287
commented
Aug 16, 2021
thanks @lokeshj1703 for pointing out this. i think it is better off addressing it in a new jira, will do it later |
lokeshj1703
commented
Aug 16, 2021
@JacksonYao287 Thanks for the contribution! I have committed the PR to master branch. |
JacksonYao287
commented
Aug 16, 2021
thanks @lokeshj1703 for the review! |
What changes were proposed in this pull request?
make balancer HA aware
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5253
How was this patch tested?
unit test