Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1088073 - Move rebalancing settings in JON from cache level to global cluster level
Move rebalancing settings in JON from cache level to global cluster level
Status: ASSIGNED
Product: JBoss Data Grid 6
Classification: JBoss
Component: JON Plugin (Show other bugs)
6.2.1
Unspecified Unspecified
medium Severity medium
: ---
: 6.5.0
Assigned To: William Burns
Martin Gencur
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-15 22:14 EDT by ksuzumur
Modified: 2018-09-12 18:32 EDT (History)
5 users (show)

See Also:
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:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker ISPN-5078 Major Resolved RHQ Server Rebalancing value doesn't display properly 2017-12-04 01:01 EST

  None (edit)
Description ksuzumur 2014-04-15 22:14:59 EDT
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 15:50:37 EST
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 13:34:34 EST
William Burns <wburns@redhat.com> updated the status of jira ISPN-5078 to Coding In Progress
Comment 5 Sebastian Łaskawiec 2014-12-15 16:30:59 EST
PR: https://github.com/infinispan/jdg/pull/394
Comment 6 Tomas Sykora 2015-01-02 07:36:54 EST
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 11:48:53 EST
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 11:50:18 EST
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 13:01:52 EST
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 08:33:10 EST
Tomas, Good catch.  The rebalancing setting is as you found per cache manager.

Note You need to log in before you can comment on or make changes to this bug.