[JBoss JIRA] (ISPN-6139) Delete a node from cluster
by Pedro Zapata (JIRA)
Pedro Zapata created ISPN-6139:
----------------------------------
Summary: Delete a node from cluster
Key: ISPN-6139
URL: https://issues.jboss.org/browse/ISPN-6139
Project: Infinispan
Issue Type: Enhancement
Components: Console
Reporter: Pedro Zapata
Nodes can be added but they can't be deleted from the console. Only stopped nodes should be able to be deleted.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-6137) ScriptMetadataTest.testBrokenParameters fails since the logging range changes
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-6137?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-6137:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated. Thanks!
> ScriptMetadataTest.testBrokenParameters fails since the logging range changes
> -----------------------------------------------------------------------------
>
> Key: ISPN-6137
> URL: https://issues.jboss.org/browse/ISPN-6137
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 8.2.0.Beta1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.2.0.CR1
>
>
> The ISPN-6123 fix changed the logging ids for the scripting module, breaking `ScriptMetadataTest.testBrokenParameters`:
> {noformat}
> The exception was thrown with the wrong message: expected "^ISPN021011.*" but got "ISPN026011: Script parameters must be declared using the array notation, e.g. [a,b,c]"
> at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1481)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:754)
> 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: java.lang.IllegalArgumentException: ISPN026011: Script parameters must be declared using the array notation, e.g. [a,b,c]
> at org.infinispan.scripting.impl.ScriptMetadataParser.unarray(ScriptMetadataParser.java:99)
> at org.infinispan.scripting.impl.ScriptMetadataParser.parse(ScriptMetadataParser.java:56)
> at org.infinispan.scripting.ScriptMetadataTest.testBrokenParameters(ScriptMetadataTest.java:63)
> 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.Invoker.invokeMethod(Invoker.java:714)
> ... 14 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months
[JBoss JIRA] (ISPN-5012) ClusterRegistry as a service cache provider
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-5012?page=com.atlassian.jira.plugin.... ]
Adrian Nistor resolved ISPN-5012.
---------------------------------
Fix Version/s: (was: 8.2.0.CR1)
Resolution: Duplicate Issue
> ClusterRegistry as a service cache provider
> -------------------------------------------
>
> Key: ISPN-5012
> URL: https://issues.jboss.org/browse/ISPN-5012
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
>
> The ClusterRegistry is currently a volatile, replicated cache with a composite key and it does not serve the original purpose for which it was built. It should be refactored to be a service cache factory with a builder API based on desired features and a NamingStrategy so that we can have "well-known" caches as well as temporary caches. It should also be possible to use the cache dependency mechanism to "chain" service cache lifecycles to other caches.
> Here's an example API (not a real example):
> RegistryBuilder builder = registry.getBuilder();
> builder.persistent().clustered().dependsOn(Cache<?,?> cache).namingStrategy(new StaticCacheNamingStrategy("___protobuf_metadata"))
> This registry would be able to provide caches to the following use cases:
> - protobuf schemas
> - hotrod topology
> - security acl
> - map/reduce work caches
> - index caches
> - etc.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 3 months