[JBoss JIRA] (ISPN-6338) Disabling cache status is lost in the UI
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6338?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-6338:
-------------------------------------------
[~pzapataf] We need an appropriate attribute in DMR related to cache enabled/disabled state, and I don't think we have one exposed. I might be wrong, though. Would you please check as well and have our team expose such an attribute?
> Disabling cache status is lost in the UI
> -----------------------------------------
>
> Key: ISPN-6338
> URL: https://issues.jboss.org/browse/ISPN-6338
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Pedro Zapata
> Assignee: Vladimir Blagojevic
>
> If you disable a cache, the disabled label appears correctly. However, if you navigate through the application, for example going back to the cache container screen, the status is lost. Entering again the cache details page shows it as enabled again.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6293) Registering a clustered listener in a DIST cluster leads to SuspectException if one member is not joined yet
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6293?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6293:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4091
> Registering a clustered listener in a DIST cluster leads to SuspectException if one member is not joined yet
> ------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6293
> URL: https://issues.jboss.org/browse/ISPN-6293
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.2.0.Beta2
> Reporter: Adrian Nistor
> Assignee: William Burns
> Fix For: 8.2.0.Final
>
>
> Reproducer:
> {code}
> import org.infinispan.configuration.cache.CacheMode;
> import org.infinispan.configuration.cache.ConfigurationBuilder;
> import org.infinispan.notifications.Listener;
> import org.infinispan.notifications.cachelistener.annotation.CacheEntryCreated;
> import org.infinispan.notifications.cachelistener.event.CacheEntryEvent;
> import org.infinispan.test.MultipleCacheManagersTest;
> import org.testng.annotations.Test;
> @Test(groups = "functional", testName = "ClusteredListenerJoinsTest")
> public class ClusteredListenerJoinsTest extends MultipleCacheManagersTest {
> @Listener(clustered = true)
> private static final class NoOpListener {
> @CacheEntryCreated
> public void handleEvent(CacheEntryEvent<Object, Object> e) {
> }
> }
> @Override
> protected void createCacheManagers() {
> ConfigurationBuilder c = buildConfiguration();
> createCluster(c, 3);
> waitForClusterToForm();
> }
> private ConfigurationBuilder buildConfiguration() {
> ConfigurationBuilder c = getDefaultClusteredCacheConfig(CacheMode.DIST_SYNC, false); //unreproducible with CacheMode.REPL_SYNC
> c.clustering().hash().numOwners(2);
> return c;
> }
> public void testJoins() {
> cache(0).addListener(new NoOpListener());
> addClusterEnabledCacheManager(buildConfiguration());
> //waitForClusterToForm();
> cache(0).addListener(new NoOpListener()); //fails most times with SuspectException; uncomment the line above to ensure it does not fail
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6339) Indexing information not displayed
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-6339:
----------------------------------
Summary: Indexing information not displayed
Key: ISPN-6339
URL: https://issues.jboss.org/browse/ISPN-6339
Project: Infinispan
Issue Type: Enhancement
Components: Console
Reporter: Pedro Zapata
Assignee: Vladimir Blagojevic
Currently, no indexing information is displayed. Also, there should be the need to issue a reindex operation (DMR: mass-reindex) and display result error.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6293) Registering a clustered listener in a DIST cluster leads to SuspectException if one member is not joined yet
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6293?page=com.atlassian.jira.plugin.... ]
Work on ISPN-6293 started by William Burns.
-------------------------------------------
> Registering a clustered listener in a DIST cluster leads to SuspectException if one member is not joined yet
> ------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6293
> URL: https://issues.jboss.org/browse/ISPN-6293
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.2.0.Beta2
> Reporter: Adrian Nistor
> Assignee: William Burns
> Fix For: 8.2.0.Final
>
>
> Reproducer:
> {code}
> import org.infinispan.configuration.cache.CacheMode;
> import org.infinispan.configuration.cache.ConfigurationBuilder;
> import org.infinispan.notifications.Listener;
> import org.infinispan.notifications.cachelistener.annotation.CacheEntryCreated;
> import org.infinispan.notifications.cachelistener.event.CacheEntryEvent;
> import org.infinispan.test.MultipleCacheManagersTest;
> import org.testng.annotations.Test;
> @Test(groups = "functional", testName = "ClusteredListenerJoinsTest")
> public class ClusteredListenerJoinsTest extends MultipleCacheManagersTest {
> @Listener(clustered = true)
> private static final class NoOpListener {
> @CacheEntryCreated
> public void handleEvent(CacheEntryEvent<Object, Object> e) {
> }
> }
> @Override
> protected void createCacheManagers() {
> ConfigurationBuilder c = buildConfiguration();
> createCluster(c, 3);
> waitForClusterToForm();
> }
> private ConfigurationBuilder buildConfiguration() {
> ConfigurationBuilder c = getDefaultClusteredCacheConfig(CacheMode.DIST_SYNC, false); //unreproducible with CacheMode.REPL_SYNC
> c.clustering().hash().numOwners(2);
> return c;
> }
> public void testJoins() {
> cache(0).addListener(new NoOpListener());
> addClusterEnabledCacheManager(buildConfiguration());
> //waitForClusterToForm();
> cache(0).addListener(new NoOpListener()); //fails most times with SuspectException; uncomment the line above to ensure it does not fail
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6338) Disabling cache status is lost in the UI
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-6338:
----------------------------------
Summary: Disabling cache status is lost in the UI
Key: ISPN-6338
URL: https://issues.jboss.org/browse/ISPN-6338
Project: Infinispan
Issue Type: Bug
Components: Console
Reporter: Pedro Zapata
If you disable a cache, the disabled label appears correctly. However, if you navigate through the application, for example going back to the cache container screen, the status is lost. Entering again the cache details page shows it as enabled again.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6335) Dist Stream iterator can return with no results in some cases
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6335?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6335:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.2.0.Final
Resolution: Done
> Dist Stream iterator can return with no results in some cases
> -------------------------------------------------------------
>
> Key: ISPN-6335
> URL: https://issues.jboss.org/browse/ISPN-6335
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 8.1.2.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 8.2.0.Final
>
>
> The distributed iterator will process entries locally if it owns all of the segments (backup or primary). If all of the entries are able to be stored in a single batch size (distributedBatchSize) then it is possible for the iterator to be closed before it can return a value.
> The issue is that the results are passed to the queue and then the iterator is closed. Unfortunately there is a very small gap in IteratorSupplier of DistributedCacheStream where it polls the queue and then checks completed flag (set by closing iterator). If the results are put into the queue and the primary thread was suspended after checking the queue but then wakes up and sees the completion it will return no results. This is reproducible with the new ReplicatedStreamRehashTest but doesn't require rehashs to occur.
> The following are the 2 places affected.
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
> &
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6306) Distributed Streams should also be used for Replication Cache
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6306?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-6306:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated in master. Thanks [~william.burns]!
> Distributed Streams should also be used for Replication Cache
> -------------------------------------------------------------
>
> Key: ISPN-6306
> URL: https://issues.jboss.org/browse/ISPN-6306
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 8.2.0.CR1
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 8.2.0.Final
>
>
> Currently Replication is treated as a local cache. However we should use Distributed Stream by default. A user can force it to process locally in a Replcation cache by using Flag.CACHE_MODE_LOCAL on an advanced cache.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (ISPN-6337) MassIndexerAsyncBackendTest.testMassIndexOnAsync random failures
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-6337:
---------------------------------------
Summary: MassIndexerAsyncBackendTest.testMassIndexOnAsync random failures
Key: ISPN-6337
URL: https://issues.jboss.org/browse/ISPN-6337
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Query
Affects Versions: 8.2.0.CR1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
{code}
java.lang.RuntimeException: Unexpected!
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:166)
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:146)
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:122)
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:456)
at org.infinispan.query.distributed.MassIndexerAsyncBackendTest.assertAllIndexed(MassIndexerAsyncBackendTest.java:59)
at org.infinispan.query.distributed.MassIndexerAsyncBackendTest.testMassIndexOnAsync(MassIndexerAsyncBackendTest.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200)
at org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner.run(BMNGAbstractRunner.java:58)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.search.exception.SearchException: Unable to reopen IndexReader
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.refreshAndGet(SharingBufferReaderProvider.java:242)
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.openIndexReader(SharingBufferReaderProvider.java:73)
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.openIndexReader(SharingBufferReaderProvider.java:35)
at org.hibernate.search.reader.impl.ManagedMultiReader.createInstance(ManagedMultiReader.java:68)
at org.hibernate.search.reader.impl.MultiReaderFactory.openReader(MultiReaderFactory.java:42)
at org.hibernate.search.query.engine.impl.LuceneHSQuery.buildSearcher(LuceneHSQuery.java:477)
at org.hibernate.search.query.engine.impl.LuceneHSQuery.buildSearcher(LuceneHSQuery.java:368)
at org.hibernate.search.query.engine.impl.LuceneHSQuery.queryEntityInfos(LuceneHSQuery.java:131)
at org.infinispan.query.impl.CacheQueryImpl.list(CacheQueryImpl.java:161)
at org.infinispan.query.distributed.MassIndexerAsyncBackendTest$1.isSatisfied(MassIndexerAsyncBackendTest.java:62)
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:161)
... 31 more
Caused by: java.io.FileNotFoundException: Error loading metadata for index file: M|segments_4|commonIndex|-1
at org.infinispan.lucene.impl.DirectoryImplementor.openInput(DirectoryImplementor.java:138)
at org.infinispan.lucene.impl.DirectoryLucene.openInput(DirectoryLucene.java:102)
at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:294)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:493)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:490)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:683)
at org.apache.lucene.index.SegmentInfos.readLatestCommit(SegmentInfos.java:490)
at org.apache.lucene.index.StandardDirectoryReader.isCurrent(StandardDirectoryReader.java:344)
at org.apache.lucene.index.StandardDirectoryReader.doOpenNoWriter(StandardDirectoryReader.java:300)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:263)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:251)
at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:137)
at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.refreshAndGet(SharingBufferReaderProvider.java:239)
... 41 more
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month