Andrew Mashenkov created IGNITE-5399:
----------------------------------------
Summary: Manual cache rebalancing feature is broken
Key: IGNITE-5399
URL: https://issues.apache.org/jira/browse/IGNITE-5399
Project: Ignite
Issue Type: Bug
Components: cache
Affects Versions: 2.0, 1.9, 1.8
Reporter: Andrew Mashenkov
Fix For: 2.2
Cache.rebalance() javadoc says "Future that will be completed when rebalancing
is finished". But it is not true.
1. The method return value is Object, however actually it is Boolean and it is
not obvious.
2. Future.get() return true if rebalance is finished, but can return false and
reschedule rebalancing. So, control can return to thread before rebalancing
even started.
3. Spinning on rebalance().get() until it true will not help. Seems like
rebalance either restarted (1.9) or hanged (2.0).
PFA repro attached.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)