[JBoss JIRA] (ISPN-9033) Web/CLI hangs if cache use cache store and has a lot of entries
by Sergey Chernolyas (JIRA)
[ https://issues.jboss.org/browse/ISPN-9033?page=com.atlassian.jira.plugin.... ]
Sergey Chernolyas commented on ISPN-9033:
-----------------------------------------
I show code that count all keys. It is main problem. I guess that Infinispan have to use some counters.
For instance:
# count of keys in external cache store (can be implemented by external storage )
# count of keys in memory
Usage of counters can increase performance.
> Web/CLI hangs if cache use cache store and has a lot of entries
> ---------------------------------------------------------------
>
> Key: ISPN-9033
> URL: https://issues.jboss.org/browse/ISPN-9033
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.1.Final
> Reporter: Sergey Chernolyas
>
> My cache configuration has RocksDB's cache. Cache has a more then 1 000 000 entries.
> And it do usage of Web interfce and CLI impossible.
> As I have investigated, problem can be in class org.infinispan.commands.read.SizeCommand.
> {code:java}
> public Integer perform(InvocationContext ctx) throws Throwable {
> long size = cache.keySet().stream().count();
> if (size > Integer.MAX_VALUE) {
> return Integer.MAX_VALUE;
> } else {
> return (int) size;
> }
> }
> {code}
> I think, the code must ask CacheStore for sizing.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (ISPN-9056) Cache metrics per node not displayed when one of nodes is stopped
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-9056?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-9056:
--------------------------------------
Status: Open (was: New)
> Cache metrics per node not displayed when one of nodes is stopped
> -----------------------------------------------------------------
>
> Key: ISPN-9056
> URL: https://issues.jboss.org/browse/ISPN-9056
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 9.2.1.Final, 9.1.7.Final
> Environment: * Mac OS X
> * Out of the box JDG setup with no customization of domain and host XML files
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> When trying to get the stats of any cache (default, repl, memcachedCache) via the Management Console per any available node particularly when one of the Infnispan nodes in deliberately shut down (system calls it DEGRADED mode),the UI throws an error saying the stats couldn't be retrieved from the node shut down.
> For example, with the out of the box configuration host.xml starts two server(server-one and server-two). When the server-two is intentionally shut down and when metrics for the distributed cache "default" is looked up for all the available nodes the following error is thrown:
> WFLYCTL0030: No resource definition is registered for address [ ("host" => "master"), ("server" => "server-two"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "clustered"), ("distributed-cache" => "default") ]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (ISPN-9056) Cache metrics per node not displayed when one of nodes is stopped
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-9056?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-9056:
--------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan-management-console/pull/240
> Cache metrics per node not displayed when one of nodes is stopped
> -----------------------------------------------------------------
>
> Key: ISPN-9056
> URL: https://issues.jboss.org/browse/ISPN-9056
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 9.2.1.Final, 9.1.7.Final
> Environment: * Mac OS X
> * Out of the box JDG setup with no customization of domain and host XML files
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> When trying to get the stats of any cache (default, repl, memcachedCache) via the Management Console per any available node particularly when one of the Infnispan nodes in deliberately shut down (system calls it DEGRADED mode),the UI throws an error saying the stats couldn't be retrieved from the node shut down.
> For example, with the out of the box configuration host.xml starts two server(server-one and server-two). When the server-two is intentionally shut down and when metrics for the distributed cache "default" is looked up for all the available nodes the following error is thrown:
> WFLYCTL0030: No resource definition is registered for address [ ("host" => "master"), ("server" => "server-two"), ("subsystem" => "datagrid-infinispan"), ("cache-container" => "clustered"), ("distributed-cache" => "default") ]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (ISPN-9058) Auto-start feature/flag for nodes added from Management Console
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-9058?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-9058:
--------------------------------------
Status: Open (was: New)
> Auto-start feature/flag for nodes added from Management Console
> ---------------------------------------------------------------
>
> Key: ISPN-9058
> URL: https://issues.jboss.org/browse/ISPN-9058
> Project: Infinispan
> Issue Type: Enhancement
> Components: Console
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Priority: Minor
>
> Currently when a new Infinispan node is added via the management console on any of the configured hosts and when the entire Infnispan cluster including the domain controller is reboot for any reason, the nodes added via the management console would not come up by default. This is because the host.xml got updated with the server entry but the *auto-start* attribute on the *<server>* was not set to *true*.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months