[JBoss JIRA] (ISPN-12270) Create a indexed cache, add an entry
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12270?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12270:
-------------------------------------
Status: Open (was: New)
> Create a indexed cache, add an entry
> ------------------------------------
>
> Key: ISPN-12270
> URL: https://issues.redhat.com/browse/ISPN-12270
> Project: Infinispan
> Issue Type: Bug
> Components: Console, REST
> Affects Versions: 12.0.0.Dev02
> Reporter: Katia Aresti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Creating an indexed cache, add an entry and then launch a reindex from the console
>
> {code:java}
> package people;
> message Person {
> required string name = 1;
> }{code}
>
> {code:java}
> {
> "_type": "people.Person",
> "name": "katia"
> }{code}
>
> The 'reindexing' status remains forever and in the server
> {code:java}
> 6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException6:51:46,457 ERROR (blocking-thread--p3-t5) [org.infinispan.rest.resources.SearchAdminResource] ISPN012022: Error executing MassIndexer java.lang.NullPointerException at org.infinispan.query.impl.massindex.IndexUpdater.allJavaClasses(IndexUpdater.java:57) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.lambda$executeInternal$3(DistributedExecutorMassIndexer.java:123) at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2235) at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:143) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.executeInternal(DistributedExecutorMassIndexer.java:117) at org.infinispan.query.impl.massindex.DistributedExecutorMassIndexer.run(DistributedExecutorMassIndexer.java:74) at org.infinispan.rest.resources.SearchAdminResource.runIndexer(SearchAdminResource.java:109) at org.infinispan.rest.resources.SearchAdminResource.reindex(SearchAdminResource.java:59) at org.infinispan.rest.framework.impl.RestDispatcherImpl.dispatch(RestDispatcherImpl.java:75) at org.infinispan.rest.RestRequestHandler.handleRestRequest(RestRequestHandler.java:133) at org.infinispan.rest.RestRequestHandler.lambda$channelRead0$0(RestRequestHandler.java:112) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:834){code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12283) Expiration not removing entry from indexes
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12283?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12283:
-------------------------------------
Description:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer for 10.1.x: https://github.com/infinispan/infinispan/pull/8667
was:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer for 10.1.x in
https://github.com/infinispan/infinispan/pull/8667
> Expiration not removing entry from indexes
> ------------------------------------------
>
> Key: ISPN-12283
> URL: https://issues.redhat.com/browse/ISPN-12283
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Embedded Querying
> Affects Versions: 10.1.8.Final, 12.0.0.Dev02, 11.0.3.Final
> Reporter: Gustavo Fernandes
> Priority: Major
>
> The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
> The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer for 10.1.x: https://github.com/infinispan/infinispan/pull/8667
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12283) Expiration not removing entry from indexes
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12283?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12283:
-------------------------------------
Description:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer for 10.1.x in
https://github.com/infinispan/infinispan/pull/8667
was:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer in https://github.com/infinispan/infinispan/pull/8667
> Expiration not removing entry from indexes
> ------------------------------------------
>
> Key: ISPN-12283
> URL: https://issues.redhat.com/browse/ISPN-12283
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Embedded Querying
> Affects Versions: 10.1.8.Final, 12.0.0.Dev02, 11.0.3.Final
> Reporter: Gustavo Fernandes
> Priority: Major
>
> The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
> The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer for 10.1.x in
> https://github.com/infinispan/infinispan/pull/8667
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12283) Expiration not removing entry from indexes
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12283?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12283:
-------------------------------------
Description:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer in https://github.com/infinispan/infinispan/pull/8667
was:
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches
> Expiration not removing entry from indexes
> ------------------------------------------
>
> Key: ISPN-12283
> URL: https://issues.redhat.com/browse/ISPN-12283
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Embedded Querying
> Affects Versions: 10.1.8.Final, 12.0.0.Dev02, 11.0.3.Final
> Reporter: Gustavo Fernandes
> Priority: Major
>
> The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
> The problem is always reproducible with local caches, and happens intermittently with clustered caches. Reproducer in https://github.com/infinispan/infinispan/pull/8667
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12264) Template or custom configuration should be required to create a cache
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12264?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12264:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 12.0.0.Dev03
Resolution: Done
> Template or custom configuration should be required to create a cache
> ---------------------------------------------------------------------
>
> Key: ISPN-12264
> URL: https://issues.redhat.com/browse/ISPN-12264
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Assignee: Katia Aresti
> Priority: Minor
> Fix For: 12.0.0.Dev03
>
>
> If I click only write a cache name and click the {{Create}} button, a {{LOCAL}} cache is created, which is not at all useful on the server. I should be required to either select a template or supply a custom configuration in order to create the cache.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12283) Expiration not removing entry from indexes
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-12283:
----------------------------------------
Summary: Expiration not removing entry from indexes
Key: ISPN-12283
URL: https://issues.redhat.com/browse/ISPN-12283
Project: Infinispan
Issue Type: Bug
Components: Core, Embedded Querying
Affects Versions: 11.0.3.Final, 12.0.0.Dev02, 10.1.8.Final
Reporter: Gustavo Fernandes
The ExpirationManagerImpl when processing expirations, deletes the entry from the data container and from the stores, but not from the indexes
The problem is always reproducible with local caches, and happens intermittently with clustered caches
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12273) Potential race condition during wiring of EncoderCache
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12273?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12273:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8665, https://github.com/infinispan/infinispan/pull/8666
> Potential race condition during wiring of EncoderCache
> ------------------------------------------------------
>
> Key: ISPN-12273
> URL: https://issues.redhat.com/browse/ISPN-12273
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.3.Final
> Reporter: Paul Ferraro
> Priority: Critical
>
> Since the upgrade to 11.0.x, we have encountered intermittent cache startup failures in WildFly that look to be due to a race condition in the wiring of the EncoderCache. Unfortunately, I have been unable to reproduce the issue locally. Here is a sample stack trace demonstrating the issue taken from the CI:
> {noformat}
> [31m08:41:33,153 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 18) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.web.default-server: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache.web.default-server: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
> at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:513)
> Caused by: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.awaitWrapperState(BasicComponentRegistryImpl.java:692)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:150)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.findFactory(BasicComponentRegistryImpl.java:257)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:132)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:125)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:152)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:247)
> at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:120)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:92)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:88)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:376)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:170)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:116)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:84)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:687)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:643)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:532)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:510)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
> ... 7 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12273) Potential race condition during wiring of EncoderCache
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12273?page=com.atlassian.jira.plugi... ]
Dan Berindei reassigned ISPN-12273:
-----------------------------------
Assignee: Dan Berindei
> Potential race condition during wiring of EncoderCache
> ------------------------------------------------------
>
> Key: ISPN-12273
> URL: https://issues.redhat.com/browse/ISPN-12273
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.3.Final
> Reporter: Paul Ferraro
> Assignee: Dan Berindei
> Priority: Critical
> Fix For: 12.0.0.Dev03, 11.0.4.Final
>
>
> Since the upgrade to 11.0.x, we have encountered intermittent cache startup failures in WildFly that look to be due to a race condition in the wiring of the EncoderCache. Unfortunately, I have been unable to reproduce the issue locally. Here is a sample stack trace demonstrating the issue taken from the CI:
> {noformat}
> [31m08:41:33,153 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 18) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.web.default-server: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache.web.default-server: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
> at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:513)
> Caused by: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.awaitWrapperState(BasicComponentRegistryImpl.java:692)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:150)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.findFactory(BasicComponentRegistryImpl.java:257)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:132)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:125)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:152)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:247)
> at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:120)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:92)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:88)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:376)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:170)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:116)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:84)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:687)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:643)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:532)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:510)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
> ... 7 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months
[JBoss JIRA] (ISPN-12273) Potential race condition during wiring of EncoderCache
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12273?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12273:
--------------------------------
Fix Version/s: 12.0.0.Dev03
11.0.4.Final
> Potential race condition during wiring of EncoderCache
> ------------------------------------------------------
>
> Key: ISPN-12273
> URL: https://issues.redhat.com/browse/ISPN-12273
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.3.Final
> Reporter: Paul Ferraro
> Priority: Critical
> Fix For: 12.0.0.Dev03, 11.0.4.Final
>
>
> Since the upgrade to 11.0.x, we have encountered intermittent cache startup failures in WildFly that look to be due to a race condition in the wiring of the EncoderCache. Unfortunately, I have been unable to reproduce the issue locally. Here is a sample stack trace demonstrating the issue taken from the CI:
> {noformat}
> [31m08:41:33,153 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 18) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.web.default-server: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache.web.default-server: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
> at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:513)
> Caused by: org.infinispan.commons.CacheConfigurationException: Component org.infinispan.factories.EncoderRegistryFactory is missing a strong reference: waiting to become INSTANTIATED but it has not been instantiated yet
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.awaitWrapperState(BasicComponentRegistryImpl.java:692)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:150)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.findFactory(BasicComponentRegistryImpl.java:257)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:132)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent(BasicComponentRegistryImpl.java:65)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:125)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.impl.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.getComponent0(BasicComponentRegistryImpl.java:152)
> at org.infinispan.factories.impl.WireContext.get(WireContext.java:20)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:30)
> at org.infinispan.encoding.CorePackageImpl$1.wire(CorePackageImpl.java:27)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireDependencies(BasicComponentRegistryImpl.java:247)
> at org.infinispan.cache.impl.EncoderCache.wireRealCache(EncoderCache.java:120)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:92)
> at org.infinispan.cache.impl.CorePackageImpl$4.wire(CorePackageImpl.java:88)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeInjection(BasicComponentRegistryImpl.java:339)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.doWireWrapper(BasicComponentRegistryImpl.java:236)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.wireWrapper(BasicComponentRegistryImpl.java:217)
> at org.infinispan.factories.impl.BasicComponentRegistryImpl.registerComponent(BasicComponentRegistryImpl.java:376)
> at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:170)
> at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:116)
> at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:84)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:687)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:643)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:532)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:510)
> at org.jboss.as.clustering.infinispan.DefaultCacheContainer.getCache(DefaultCacheContainer.java:92)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:77)
> at org.wildfly.clustering.infinispan.spi.service.CacheServiceConfigurator.get(CacheServiceConfigurator.java:55)
> at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
> ... 7 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 8 months