[jira] [Commented] (IGNITE-4336) Manual rebalance can't be requested twice
[ https://issues.apache.org/jira/browse/IGNITE-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15713255#comment-15713255 ] Ilya Lantukh commented on IGNITE-4336: -- Tests passed, please review. > Manual rebalance can't be requested twice > - > > Key: IGNITE-4336 > URL: https://issues.apache.org/jira/browse/IGNITE-4336 > Project: Ignite > Issue Type: Bug > Components: cache >Reporter: Dmitriy Setrakyan >Assignee: Ilya Lantukh > Fix For: 2.0 > > > Manual rebalancing with ignite.rebalance().get() immediately returns on > second try without requesting rebalancing. The reason is that the future that > was created for the first rebalance, is reused for the consecutive attempts. > We must have a new future for every rebalance attempt. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (IGNITE-4336) Manual rebalance can't be requested twice
[ https://issues.apache.org/jira/browse/IGNITE-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15711877#comment-15711877 ] ASF GitHub Bot commented on IGNITE-4336: GitHub user ilantukh opened a pull request: https://github.com/apache/ignite/pull/1306 IGNITE-4336 : Fixed rebalance future. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ilantukh/ignite ignite-4336 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/1306.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1306 commit 20a1cfaf0d400a57f3a281bf8a4af1801a12243c Author: Ilya Lantukh Date: 2016-12-01T12:44:39Z ignite-4336 : Fixed rebalance future. > Manual rebalance can't be requested twice > - > > Key: IGNITE-4336 > URL: https://issues.apache.org/jira/browse/IGNITE-4336 > Project: Ignite > Issue Type: Bug > Components: cache >Reporter: Dmitriy Setrakyan >Assignee: Ilya Lantukh > Fix For: 2.0 > > > Manual rebalancing with ignite.rebalance().get() immediately returns on > second try without requesting rebalancing. The reason is that the future that > was created for the first rebalance, is reused for the consecutive attempts. > We must have a new future for every rebalance attempt. -- This message was sent by Atlassian JIRA (v6.3.4#6332)