[JBoss JIRA] (ISPN-11519) Cache should not start if it cluster listener replication fails
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11519?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11519:
-----------------------------------
Fix Version/s: 11.0.0.Dev05
(was: 11.0.0.Dev04)
> Cache should not start if it cluster listener replication fails
> ---------------------------------------------------------------
>
> Key: ISPN-11519
> URL: https://issues.redhat.com/browse/ISPN-11519
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Fix For: 11.0.0.Dev05
>
>
> {{StateConsumerImpl.fetchClusterListeners}} catches any exceptions during the fetch and local installation of cluster listeners from other nodes, and only logs a warning message:
> {noformat}
> 18:04:14,069 WARN (jgroups-5,Test-NodeD:[]) [StateConsumerImpl] ISPN000284: Problem encountered while installing cluster listener
> {noformat}
> If a cache starts without installing all the cluster listeners locally, the listeners will miss events for keys that end up with the joiner as the primary owner, which would be pretty hard to debug. We should instea fail fast, and prevent the cache from starting if the cluster listeners cannot be fetched and installed locally.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11534) Deprecate DefaultCacheManager constructors with default configuration
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11534?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11534:
-----------------------------------
Fix Version/s: 11.0.0.Dev05
(was: 11.0.0.Dev04)
> Deprecate DefaultCacheManager constructors with default configuration
> ---------------------------------------------------------------------
>
> Key: ISPN-11534
> URL: https://issues.redhat.com/browse/ISPN-11534
> Project: Infinispan
> Issue Type: Bug
> Components: API, Core
> Affects Versions: 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Dev05
>
>
> {{DefaultCacheManager}} no longer has a default cache by default. In order to use the constructors with a default {{Configuration}} parameter, the user also has to define a default cache name in the {{GlobalConfiguration}}, but that is surprising.
> We should remove these constructors, as the user can use the {{ConfigurationBuilderHolder}} constructor to define a default cache (and other caches as well) before starting the cache manager.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11543) Add BlockingHandler to simplify running blocking operations
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11543?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11543:
-----------------------------------
Fix Version/s: 11.0.0.Dev05
(was: 11.0.0.Dev04)
> Add BlockingHandler to simplify running blocking operations
> -----------------------------------------------------------
>
> Key: ISPN-11543
> URL: https://issues.redhat.com/browse/ISPN-11543
> Project: Infinispan
> Issue Type: Sub-task
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
> Fix For: 11.0.0.Dev05
>
>
> We have quite a few places that must run blocking operations that cannot be changed. These places must run the operation in a blocking thread and return on a non blocking thread. All of these places must register both a blocking and non blocking thread pool and properly handle them. This is both error prone and a lot of extra code. We should isolate this to a shared component which will in turn provide for an easier way to find such operations.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years