Bug 1088073 - Move rebalancing settings in JON from cache level to global cluster level
Summary: Move rebalancing settings in JON from cache level to global cluster level
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: JON Plugin
Version: 6.2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 6.5.0
Assignee: William Burns
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 02:14 UTC by ksuzumur
Modified: 2022-05-31 22:24 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5078 0 Major Resolved RHQ Server Rebalancing value doesn't display properly 2017-12-04 06:01:48 UTC

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.


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