[JBoss JIRA] (ISPN-10248) Allow users to customize NearCache behavior per RemoteCache
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10248?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10248:
-----------------------------------
Sprint: JDG Sprint #29
> Allow users to customize NearCache behavior per RemoteCache
> -----------------------------------------------------------
>
> Key: ISPN-10248
> URL: https://issues.jboss.org/browse/ISPN-10248
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod
> Affects Versions: 10.0.0.Beta3, 9.4.14.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Major
> Fix For: 10.0.0.Beta4
>
>
> I have the need to customize L1 configuration beyond the simple max-size capability. To do this, I can extend RemoteCacheManager and override the protected createNearCacheService(...) method. However, this method returns a NearCacheService implementation, instead of a NearCache. No matter, I can still extend NearCacheService and override the protected createNearCache(NearCacheConfiguration config) method. However, this method returns a NearCache interface which is package protected. Consequently, customizing near caching logic is impossible.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-9643) Improve Jacoco support for Infinispan
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9643?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9643:
----------------------------------
Sprint: JDG Sprint #29
> Improve Jacoco support for Infinispan
> -------------------------------------
>
> Key: ISPN-9643
> URL: https://issues.jboss.org/browse/ISPN-9643
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Diego Lovison
> Priority: Major
>
> The jacoco should support IT ( Integration Tests ) and UT ( Unit Tests ).
> Infinispan has a mix of tests, in the same project, we have junit and testng.
> We should be able to generate jacoco-ut.exec and jacoco-it.exec
> During this task, there is the opportunity to merge, remove surefire and failsafe plugin from sub-projects
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-9643) Improve Jacoco support for Infinispan
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9643?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-9643:
-------------------------------------
Assignee: Diego Lovison
> Improve Jacoco support for Infinispan
> -------------------------------------
>
> Key: ISPN-9643
> URL: https://issues.jboss.org/browse/ISPN-9643
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> The jacoco should support IT ( Integration Tests ) and UT ( Unit Tests ).
> Infinispan has a mix of tests, in the same project, we have junit and testng.
> We should be able to generate jacoco-ut.exec and jacoco-it.exec
> During this task, there is the opportunity to merge, remove surefire and failsafe plugin from sub-projects
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10330) BasicComponentRegistryImpl.findFactory() concurrency issue
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10330?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10330:
-----------------------------------
Sprint: JDG Sprint #29
> BasicComponentRegistryImpl.findFactory() concurrency issue
> ----------------------------------------------------------
>
> Key: ISPN-10330
> URL: https://issues.jboss.org/browse/ISPN-10330
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.16.Final
>
>
> When 2 threads try to create the same component concurrently and they also end up creating an {{AutoInstantiableFactory}} concurrently, one of them may get a {{NullPointerException}}.
> {noformat}
> org.infinispan.commons.CacheConfigurationException: Failed to construct component org.infinispan.factories.TestDelayFactory, path org.infinispan.factories.TestDelayFactory
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:169) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:156) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:126) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.findFactory(BasicComponentRegistryImpl.java:232) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:113) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:106) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.AbstractComponentRegistry.getComponent(AbstractComponentRegistry.java:232) ~[classes/:?]
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:162) ~[classes/:?]
> at org.infinispan.factories.ComponentRegistryTest.lambda$testConcurrentLookup$1(ComponentRegistryTest.java:75) ~[test-classes/:?]
> at org.infinispan.test.AbstractInfinispanTest$CallableWrapper.call(AbstractInfinispanTest.java:528) [test-classes/:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
> at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: java.lang.NullPointerException
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:166) ~[classes/:?]
> ... 16 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10330) BasicComponentRegistryImpl.findFactory() concurrency issue
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10330?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10330:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7071, https://github.com/infinispan/infinispan/pull/7072
> BasicComponentRegistryImpl.findFactory() concurrency issue
> ----------------------------------------------------------
>
> Key: ISPN-10330
> URL: https://issues.jboss.org/browse/ISPN-10330
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.16.Final
>
>
> When 2 threads try to create the same component concurrently and they also end up creating an {{AutoInstantiableFactory}} concurrently, one of them may get a {{NullPointerException}}.
> {noformat}
> org.infinispan.commons.CacheConfigurationException: Failed to construct component org.infinispan.factories.TestDelayFactory, path org.infinispan.factories.TestDelayFactory
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:169) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.instantiateWrapper(BasicComponentRegistryImpl.java:156) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:126) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.findFactory(BasicComponentRegistryImpl.java:232) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:113) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:106) ~[classes/:?]
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:66) ~[classes/:?]
> at org.infinispan.factories.AbstractComponentRegistry.getComponent(AbstractComponentRegistry.java:232) ~[classes/:?]
> at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:162) ~[classes/:?]
> at org.infinispan.factories.ComponentRegistryTest.lambda$testConcurrentLookup$1(ComponentRegistryTest.java:75) ~[test-classes/:?]
> at org.infinispan.test.AbstractInfinispanTest$CallableWrapper.call(AbstractInfinispanTest.java:528) [test-classes/:?]
> at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
> at java.lang.Thread.run(Thread.java:834) [?:?]
> Caused by: java.lang.NullPointerException
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doInstantiateWrapper(BasicComponentRegistryImpl.java:166) ~[classes/:?]
> ... 16 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months