]
Vladimir Blagojevic edited comment on ISPN-7328 at 1/16/17 9:29 AM:
--------------------------------------------------------------------
Right right [~ryanemerson] I forgot about the wildcards. We can include cache container in
the call as well. Here is DMR for cache availability for distributed caches of a clustered
container (we need this call per container):
/host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=*:read-attribute(name=cache-availability)
Any way we can include all caches in one call rather than including a type and thus making
four DMR calls per container?
was (Author: vblagojevic):
Right right [~ryanemerson] I forgot about the wildcards. We can include cache container in
the call as well. Here is DMR for cache availability for distributed caches of a clustered
container (we need this call per container):
/host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=*:read-attribute(name=cache-availability)
Administration console - cache statuses in cache container page
behave randomly
-------------------------------------------------------------------------------
Key: ISPN-7328
URL:
https://issues.jboss.org/browse/ISPN-7328
Project: Infinispan
Issue Type: Bug
Components: Console
Affects Versions: 9.0.0.Beta1
Reporter: Jiří Holuša
Assignee: Vladimir Blagojevic
Priority: Minor
Attachments: screenshot1.png
Steps to reproduce: create more caches (in my case at least ~20), go to cache container
and try to refresh the page several times. It should sometimes appear that some of the
cache has yellow warning status, see attached screenshot.
This occurs very randomly and only with more caches (and probably more servers). IMHO
there is some kind of timeout issue that the console fails to retrieve statuses from all
caches in time.
I think the best solution would be to, when waiting for retrieving of the cache status,
have instead of "warning" icon some kind of spinner which would basically signal
"I haven't got the status yet". This would also solve a bit of
user-unfriendliness, which is when you go to cache container, initially all the statuses
are "warning" and then they change to "OK". This moment can time quite
some time when there are more caches and can confuse users quite a bit.