[JBoss JIRA] (ISPN-10680) Cluster Expiration should only expire primary owned entries
by Wolf-Dieter Fink (Jira)
Wolf-Dieter Fink created ISPN-10680:
---------------------------------------
Summary: Cluster Expiration should only expire primary owned entries
Key: ISPN-10680
URL: https://issues.jboss.org/browse/ISPN-10680
Project: Infinispan
Issue Type: Enhancement
Components: Expiration
Affects Versions: 9.4.16.Final, 10.0.0.CR2
Reporter: Wolf-Dieter Fink
Assignee: Will Burns
Fix For: 10.0.0.Final, 9.4.17.Final
Today cluster expiration fires for any expired entry it finds. We should instead only expire an entry when it is the primary owner encountering the entry. This will allow expiration to scale much better depending on the number of owners. This also reduces network and locking contention as we may have been sending duplicate expiration commands from backups and primary at the same time.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10678) Cluster Expiration should only expire primary owned entries
by Will Burns (Jira)
Will Burns created ISPN-10678:
---------------------------------
Summary: Cluster Expiration should only expire primary owned entries
Key: ISPN-10678
URL: https://issues.jboss.org/browse/ISPN-10678
Project: Infinispan
Issue Type: Enhancement
Components: Expiration
Affects Versions: 10.0.0.CR2, 9.4.16.Final
Reporter: Will Burns
Assignee: Will Burns
Fix For: 10.0.0.Final, 9.4.17.Final
Today cluster expiration fires for any expired entry it finds. We should instead only expire an entry when it is the primary owner encountering the entry. This will allow expiration to scale much better depending on the number of owners. This also reduces network and locking contention as we may have been sending duplicate expiration commands from backups and primary at the same time.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10672) Server default configs issues
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10672?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10672.
---------------------------------
Resolution: Done
> Server default configs issues
> -----------------------------
>
> Key: ISPN-10672
> URL: https://issues.jboss.org/browse/ISPN-10672
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.0.CR2
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> The default server configuration is affected by the following issues:
> * it does not set the global state shared persistent location
> * they assume that user property files will use plain text password, but the user tool defaults to hashed passwords
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10675) Query tests don't execute in Intellij due to NoClassDefFoundError org/antlr/runtime/tree/TreeNodeStream
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10675?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10675:
--------------------------------
Status: Open (was: New)
> Query tests don't execute in Intellij due to NoClassDefFoundError org/antlr/runtime/tree/TreeNodeStream
> -------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10675
> URL: https://issues.jboss.org/browse/ISPN-10675
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Affects Versions: 10.0.0.CR2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> Not reproducible with maven.
> {code:java}
> org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:133)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61)
> at org.infinispan.interceptors.InvocationExceptionFunction.apply(InvocationExceptionFunction.java:25)
> at org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.addCallback(SimpleAsyncInvocationStage.java:70)
> at org.infinispan.interceptors.InvocationStage.andExceptionally(InvocationStage.java:66)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1835)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsentInternal(CacheImpl.java:370)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:360)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:340)
> at org.infinispan.cache.impl.AbstractDelegatingCache.computeIfAbsent(AbstractDelegatingCache.java:424)
> at org.infinispan.cache.impl.EncoderCache.computeIfAbsent(EncoderCache.java:655)
> at org.infinispan.Cache.computeIfAbsent(Cache.java:388)
> at org.infinispan.query.dsl.embedded.impl.QueryCache.get(QueryCache.java:73)
> at org.infinispan.query.dsl.embedded.impl.QueryEngine.parse(QueryEngine.java:695)
> at org.infinispan.query.dsl.embedded.impl.DelegatingQuery.<init>(DelegatingQuery.java:58)
> at org.infinispan.query.dsl.embedded.impl.EmbeddedQueryBuilder.build(EmbeddedQueryBuilder.java:32)
> at org.infinispan.query.dsl.impl.BaseCondition.build(BaseCondition.java:198)
> at org.infinispan.query.dsl.embedded.QueryDslConditionsTest.testSampleDomainQuery22(QueryDslConditionsTest.java:1525)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
> at org.testng.SuiteRunner.run(SuiteRunner.java:364)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
> at org.testng.TestNG.runSuites(TestNG.java:1049)
> at org.testng.TestNG.run(TestNG.java:1017)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
> Suppressed: org.infinispan.util.logging.TraceException
> at org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.get(SimpleAsyncInvocationStage.java:41)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:246)
> ... 40 more
> Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
> at org.infinispan.objectfilter.impl.syntax.parser.IckleParser.<clinit>(IckleParser.java:11)
> at org.infinispan.query.dsl.embedded.impl.QueryEngine.lambda$parse$1(QueryEngine.java:695)
> at org.infinispan.query.dsl.embedded.impl.QueryCache.lambda$get$ab3121d1$1(QueryCache.java:73)
> at org.infinispan.cache.impl.FunctionMapper.apply(FunctionMapper.java:43)
> at org.infinispan.interceptors.impl.CallInterceptor.visitComputeIfAbsentCommand(CallInterceptor.java:412)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:166)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:81)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:703)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitComputeIfAbsentCommand(EntryWrappingInterceptor.java:398)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
> at org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:70)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128)
> at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitComputeIfAbsentCommand(AbstractLockingInterceptor.java:97)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:215)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitComputeIfAbsentCommand(CacheMgmtInterceptor.java:209)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitComputeIfAbsentCommand(DDAsyncInterceptor.java:74)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
> ... 42 more
> Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.tree.TreeNodeStream
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 70 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10675) Query tests don't execute in Intellij due to NoClassDefFoundError org/antlr/runtime/tree/TreeNodeStream
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10675?page=com.atlassian.jira.plugin... ]
Ryan Emerson updated ISPN-10675:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7363
> Query tests don't execute in Intellij due to NoClassDefFoundError org/antlr/runtime/tree/TreeNodeStream
> -------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10675
> URL: https://issues.jboss.org/browse/ISPN-10675
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Affects Versions: 10.0.0.CR2
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> Not reproducible with maven.
> {code:java}
> org.infinispan.commons.CacheException: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:133)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61)
> at org.infinispan.interceptors.InvocationExceptionFunction.apply(InvocationExceptionFunction.java:25)
> at org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.addCallback(SimpleAsyncInvocationStage.java:70)
> at org.infinispan.interceptors.InvocationStage.andExceptionally(InvocationStage.java:66)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:133)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:89)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:244)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1835)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsentInternal(CacheImpl.java:370)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:360)
> at org.infinispan.cache.impl.CacheImpl.computeIfAbsent(CacheImpl.java:340)
> at org.infinispan.cache.impl.AbstractDelegatingCache.computeIfAbsent(AbstractDelegatingCache.java:424)
> at org.infinispan.cache.impl.EncoderCache.computeIfAbsent(EncoderCache.java:655)
> at org.infinispan.Cache.computeIfAbsent(Cache.java:388)
> at org.infinispan.query.dsl.embedded.impl.QueryCache.get(QueryCache.java:73)
> at org.infinispan.query.dsl.embedded.impl.QueryEngine.parse(QueryEngine.java:695)
> at org.infinispan.query.dsl.embedded.impl.DelegatingQuery.<init>(DelegatingQuery.java:58)
> at org.infinispan.query.dsl.embedded.impl.EmbeddedQueryBuilder.build(EmbeddedQueryBuilder.java:32)
> at org.infinispan.query.dsl.impl.BaseCondition.build(BaseCondition.java:198)
> at org.infinispan.query.dsl.embedded.QueryDslConditionsTest.testSampleDomainQuery22(QueryDslConditionsTest.java:1525)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
> at org.testng.SuiteRunner.run(SuiteRunner.java:364)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
> at org.testng.TestNG.runSuites(TestNG.java:1049)
> at org.testng.TestNG.run(TestNG.java:1017)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
> Suppressed: org.infinispan.util.logging.TraceException
> at org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.get(SimpleAsyncInvocationStage.java:41)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:246)
> ... 40 more
> Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeNodeStream
> at org.infinispan.objectfilter.impl.syntax.parser.IckleParser.<clinit>(IckleParser.java:11)
> at org.infinispan.query.dsl.embedded.impl.QueryEngine.lambda$parse$1(QueryEngine.java:695)
> at org.infinispan.query.dsl.embedded.impl.QueryCache.lambda$get$ab3121d1$1(QueryCache.java:73)
> at org.infinispan.cache.impl.FunctionMapper.apply(FunctionMapper.java:43)
> at org.infinispan.interceptors.impl.CallInterceptor.visitComputeIfAbsentCommand(CallInterceptor.java:412)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.impl.CallInterceptor.visitCommand(CallInterceptor.java:166)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextThenApply(BaseAsyncInterceptor.java:81)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForDataCommand(EntryWrappingInterceptor.java:703)
> at org.infinispan.interceptors.impl.EntryWrappingInterceptor.visitComputeIfAbsentCommand(EntryWrappingInterceptor.java:398)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndFinally(BaseAsyncInterceptor.java:155)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.lambda$nonTxLockAndInvokeNext$3(AbstractLockingInterceptor.java:308)
> at org.infinispan.interceptors.SyncInvocationStage.andHandle(SyncInvocationStage.java:70)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.nonTxLockAndInvokeNext(AbstractLockingInterceptor.java:303)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitNonTxDataWriteCommand(AbstractLockingInterceptor.java:128)
> at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitDataWriteCommand(NonTransactionalLockingInterceptor.java:40)
> at org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitComputeIfAbsentCommand(AbstractLockingInterceptor.java:97)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.updateStoreStatistics(CacheMgmtInterceptor.java:215)
> at org.infinispan.interceptors.impl.CacheMgmtInterceptor.visitComputeIfAbsentCommand(CacheMgmtInterceptor.java:209)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:59)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:53)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitComputeIfAbsentCommand(DDAsyncInterceptor.java:74)
> at org.infinispan.commands.write.ComputeIfAbsentCommand.acceptVisitor(ComputeIfAbsentCommand.java:114)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:128)
> ... 42 more
> Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.tree.TreeNodeStream
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 70 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months