Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1088073

Summary: Move rebalancing settings in JON from cache level to global cluster level
Product: [JBoss] JBoss Data Grid 6 Reporter: ksuzumur
Component: JON PluginAssignee: William Burns <wburns>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.1CC: chuffman, jdg-bugs, tsykora, wburns
Target Milestone: ---   
Target Release: 6.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
In Red Hat JBoss Data Grid, it is possible to change rebalancing settings using the JBoss Operations Network UI when navigating to the JBoss Data Grid Server/Cache Container/Cache/Configuration (current)/Distributed Cache Attributes/Rebalancing. This operation is currently misrepresented as a cache-level operation when the changed rebalancing settings automatically apply for all the parent cache manager's caches and for all nodes in a particular cluster. This is a known issue in JBoss Data Grid 6.4 and no workaround is currently available for this issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ksuzumur 2014-04-16 02:14:59 UTC
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:

Comment 3 William Burns 2014-12-10 20:50:37 UTC
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.

Comment 4 JBoss JIRA Server 2014-12-11 18:34:34 UTC
William Burns <wburns> updated the status of jira ISPN-5078 to Coding In Progress

Comment 5 Sebastian Ɓaskawiec 2014-12-15 21:30:59 UTC
PR: https://github.com/infinispan/jdg/pull/394

Comment 6 Tomas Sykora 2015-01-02 12:36:54 UTC
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!

Comment 7 Martin Gencur 2015-01-05 16:48:53 UTC
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.

Comment 8 Martin Gencur 2015-01-05 16:50:18 UTC
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.

Comment 9 Tomas Sykora 2015-01-05 18:01:52 UTC
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)

Comment 10 William Burns 2015-01-08 13:33:10 UTC
Tomas, Good catch.  The rebalancing setting is as you found per cache manager.

Comment 12 Red Hat Bugzilla 2025-02-10 03:35:37 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.