[JBoss JIRA] (ISPN-11856) IllegalLifecycleStateException during manager stop with query in classpath
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-11856?page=com.atlassian.jira.plugi... ]
Work on ISPN-11856 started by Nistor Adrian.
--------------------------------------------
> IllegalLifecycleStateException during manager stop with query in classpath
> --------------------------------------------------------------------------
>
> Key: ISPN-11856
> URL: https://issues.redhat.com/browse/ISPN-11856
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 11.0.0.Dev05
> Reporter: Dan Berindei
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> When the {{query-core}} module is in the classpath, the {{QueryCache}} component is registered in the global component registry, but if there query is not used, the actual query cache is never created.
> Then during manager stop, {{org.infinispan.query.core.impl.LifecycleManager.cacheStopped}} tries to remove cached queries for every stopped cache, because even non-indexed caches can have cached queries. But the query cache has not been created, and trying to create it fails with an {{IllegalLifecycleStateException}}.
> {noformat}
> 11:13:33,390 ERROR (testng-Test) [ComponentRegistry] ISPN000538: Error stopping module org.infinispan.query.impl.LifecycleManager:defaultcache
> org.infinispan.commons.IllegalLifecycleStateException: Cache container has been stopped and cannot be reused. Recreate the cache container.
> at org.infinispan.manager.DefaultCacheManager.assertIsNotTerminated(DefaultCacheManager.java:1092) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.doDefineConfiguration(DefaultCacheManager.java:438) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:418) ~[classes/:?]
> at org.infinispan.security.actions.DefineConfigurationAction.run(DefineConfigurationAction.java:28) ~[classes/:?]
> at org.infinispan.security.actions.DefineConfigurationAction.run(DefineConfigurationAction.java:14) ~[classes/:?]
> at org.infinispan.security.Security.doPrivileged(Security.java:51) ~[classes/:?]
> at org.infinispan.registry.impl.SecurityActions.defineConfiguration(SecurityActions.java:30) ~[classes/:?]
> at org.infinispan.registry.impl.InternalCacheRegistryImpl.registerInternalCache(InternalCacheRegistryImpl.java:82) ~[classes/:?]
> at org.infinispan.query.core.impl.QueryCache.getCache(QueryCache.java:102) ~[classes/:?]
> at org.infinispan.query.core.impl.QueryCache.clear(QueryCache.java:86) ~[classes/:?]
> at org.infinispan.query.impl.LifecycleManager.cacheStopped(LifecycleManager.java:337) ~[classes/:?]
> at org.infinispan.factories.ComponentRegistry.postStop(ComponentRegistry.java:252) ~[classes/:?]
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:297) ~[classes/:?]
> at org.infinispan.cache.impl.CacheImpl.performImmediateShutdown(CacheImpl.java:1096) ~[classes/:?]
> at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:1061) ~[classes/:?]
> at org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:521) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.terminate(DefaultCacheManager.java:803) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.stopCaches(DefaultCacheManager.java:859) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.internalStop(DefaultCacheManager.java:835) ~[classes/:?]
> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:811) ~[classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11881) Expose fetchSize for Query.iterator()
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-11881:
----------------------------------------
Summary: Expose fetchSize for Query.iterator()
Key: ISPN-11881
URL: https://issues.redhat.com/browse/ISPN-11881
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying
Affects Versions: 11.0.0.Dev05
Reporter: Gustavo Fernandes
Query.iterator() should accept a param to specify the fetch size of entries. For indexless query, this would affect the underlying stream and for distributed lucene queries it would set the underlying DistributedIterator's fetchSize
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11880) Remove unused files from distribution dir
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11880?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11880:
--------------------------------
Status: Open (was: New)
> Remove unused files from distribution dir
> -----------------------------------------
>
> Key: ISPN-11880
> URL: https://issues.redhat.com/browse/ISPN-11880
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The following files in the distribution dir no longer have a purpose and should be removed:
> {code}
> distribution/src/main/release
> ├── common
> │ ├── bin
> │ │ └── functions.sh
> │ ├── configs
> │ │ ├── config-samples
> │ │ │ ├── distributed-ec2.xml
> │ │ │ ├── distributed-udp.xml
> │ │ │ ├── minimal.xml
> │ │ │ └── sample.xml
> │ │ ├── log4j
> │ │ │ └── log4j2.xml
> {code}
> Removing {{distribution/src/main/release/common/configs/config-samples}} also means that we can kill {{SampleConfigFilesCorrectnessTest}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11880) Remove unused files from distribution dir
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11880?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11880:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8363
> Remove unused files from distribution dir
> -----------------------------------------
>
> Key: ISPN-11880
> URL: https://issues.redhat.com/browse/ISPN-11880
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The following files in the distribution dir no longer have a purpose and should be removed:
> {code}
> distribution/src/main/release
> ├── common
> │ ├── bin
> │ │ └── functions.sh
> │ ├── configs
> │ │ ├── config-samples
> │ │ │ ├── distributed-ec2.xml
> │ │ │ ├── distributed-udp.xml
> │ │ │ ├── minimal.xml
> │ │ │ └── sample.xml
> │ │ ├── log4j
> │ │ │ └── log4j2.xml
> {code}
> Removing {{distribution/src/main/release/common/configs/config-samples}} also means that we can kill {{SampleConfigFilesCorrectnessTest}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11880) Remove unused files from distribution dir
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11880?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11880:
--------------------------------
Sprint: DataGrid Sprint #44
> Remove unused files from distribution dir
> -----------------------------------------
>
> Key: ISPN-11880
> URL: https://issues.redhat.com/browse/ISPN-11880
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The following files in the distribution dir no longer have a purpose and should be removed:
> {code}
> distribution/src/main/release
> ├── common
> │ ├── bin
> │ │ └── functions.sh
> │ ├── configs
> │ │ ├── config-samples
> │ │ │ ├── distributed-ec2.xml
> │ │ │ ├── distributed-udp.xml
> │ │ │ ├── minimal.xml
> │ │ │ └── sample.xml
> │ │ ├── log4j
> │ │ │ └── log4j2.xml
> {code}
> Removing {{distribution/src/main/release/common/configs/config-samples}} also means that we can kill {{SampleConfigFilesCorrectnessTest}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11880) Remove unused files from distribution dir
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11880?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11880:
--------------------------------
Description:
The following files in the distribution dir no longer have a purpose and should be removed:
{code}
distribution/src/main/release
├── common
│ ├── bin
│ │ └── functions.sh
│ ├── configs
│ │ ├── config-samples
│ │ │ ├── distributed-ec2.xml
│ │ │ ├── distributed-udp.xml
│ │ │ ├── minimal.xml
│ │ │ └── sample.xml
│ │ ├── log4j
│ │ │ └── log4j2.xml
{code}
Removing {{distribution/src/main/release/common/configs/config-samples}} also means that we can kill {{SampleConfigFilesCorrectnessTest}}.
was:{{distribution/src/main/release/common/configs/config-samples}} are never used, we should remove them and SampleConfigFilesCorrectnessTest
> Remove unused files from distribution dir
> -----------------------------------------
>
> Key: ISPN-11880
> URL: https://issues.redhat.com/browse/ISPN-11880
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The following files in the distribution dir no longer have a purpose and should be removed:
> {code}
> distribution/src/main/release
> ├── common
> │ ├── bin
> │ │ └── functions.sh
> │ ├── configs
> │ │ ├── config-samples
> │ │ │ ├── distributed-ec2.xml
> │ │ │ ├── distributed-udp.xml
> │ │ │ ├── minimal.xml
> │ │ │ └── sample.xml
> │ │ ├── log4j
> │ │ │ └── log4j2.xml
> {code}
> Removing {{distribution/src/main/release/common/configs/config-samples}} also means that we can kill {{SampleConfigFilesCorrectnessTest}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-7180) ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
by Will Burns (Jira)
[ https://issues.redhat.com/browse/ISPN-7180?page=com.atlassian.jira.plugin... ]
Will Burns commented on ISPN-7180:
----------------------------------
[~dan.berindei]If it continues to fail, please feel free to reopen.
> ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7180
> URL: https://issues.redhat.com/browse/ISPN-7180
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 11.0.0.CR1
>
> Attachments: ClientClusterExpirationEventsTest_20161015.log.gz
>
>
> {noformat}
> 00:31:53,427 ERROR (testng-ClientClusterExpirationEventsTest:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration
> java.lang.AssertionError: expected:<-2029326077> but was:<-1572153589>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.TestingUtil.assertAnyEquals(TestingUtil.java:1481) ~[infinispan-core-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.EventLogListener.expectSingleEvent(EventLogListener.java:160) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.EventLogListener.expectOnlyExpiredEvent(EventLogListener.java:136) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.lambda$testNullValueMetadataExpiration$77(ClientClusterExpirationEventsTest.java:158) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest$$Lambda$365/1048942861.accept(Unknown Source) ~[?:?]
> at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withClientListener(HotRodClientTestingUtil.java:176) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration(ClientClusterExpirationEventsTest.java:152) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months