Description of problem: JON console does not change a Rebalancing settings Version-Release number of selected component (if applicable): JBoss Data Grid 6.2.1 jon-server-3.2.0.GA - jon-plugin-pack-jdg-3.2.0.GA.zip - jon-plugin-pack-jdg-3.2.0.GA-update-01.zip - jon-plugin-pack-jdg-3.2.0.GA-update-02.zip How reproducible: Set Rebalancing setting using JON console Steps to Reproduce: 1. Start JDG server with clustered.xml 2. Access to Inventory -> JDG -> infinispan -> Cache Containers -> Caches -> "default" Configuration TAB -> Distributed Cache Attributes. 3. Select a No radio button -> Save and refresh 4. The rebalancing setting is rollbacked. Actual results: Rollback the rebalancing setting Expected results: Set "No" Additional info:
I can see that setting rebalance to a specific works properly. However it is not displaying properly in JON even after I do a reload of the server as JON suggests. Looking on the jboss-cli it shows up properly there, for some reason JON is just not updating properly.
William Burns <wburns> updated the status of jira ISPN-5078 to Coding In Progress
PR: https://github.com/infinispan/jdg/pull/394
Hi Will, nice work man. Configuration changing through JON UI works perfectly now, re-checking with jboss-cli running, everything OK. However I am not sure about one fact. When I change rebalancing property for one cache, it changes that property for *ALL* caches and for *ALL* servers. Is that desired behaviour? More detaily, all caches (default, memcachedCache, namedCache) has e.g. enabled rebalancing. I choose default cache, configuration, distributed cache attributes and switched rebalancing off ('no' selected). Now, all caches in all servers has rebalancing switched off. Thank you for any information!
According to our discussion with Tristan, this settings is per-cache manager, not per cache. And it is supposed to suspend/enable re-balancing on all nodes. The fix would be for JON GUI to present this operation as global - cluster-wide and per-container. Currently JON present this as per-cache and per-node. This will be a known issue for JON GUI in JDG 6.4 and we need to document it.
Forgot to add that, even though this operation is presented as per-cache, it changes the re-balancing settings for all caches and all nodes.
In order to track current status -- changing name to: Move rebalancing settings in JON from cache level to global cluster level This operation actually works on a global cluster level. The change in settings applies for all caches under respective cache manager in all nodes in a particular cluster. We need to move settings from cache level UP to a cache manager level and also add a description that this will be applied for all nodes in the cluster. Also adding DOC text for release notes. (needinfo: Misha, just letting u know + I can't change require_doc_text flag -- not in a group with permission)
Tomas, Good catch. The rebalancing setting is as you found per cache manager.