[JBoss JIRA] (ISPN-10333) Bump RocksDB to 5.18.3
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10333?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10333:
---------------------------------
Summary: Bump RocksDB to 5.18.3 (was: RuntimeException: librocksdbjni-osx.jnilib was not found inside JAR)
> Bump RocksDB to 5.18.3
> ----------------------
>
> Key: ISPN-10333
> URL: https://issues.jboss.org/browse/ISPN-10333
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> It is failing on Mac OS X, 10.14.5
> {noformat}
> java.lang.ExceptionInInitializerError
> at org.rocksdb.DBOptions.<clinit>(DBOptions.java:21)
> at org.infinispan.persistence.rocksdb.RocksDBStore.dataDbOptions(RocksDBStore.java:155)
> at org.infinispan.persistence.rocksdb.RocksDBStore.start(RocksDBStore.java:121)
> at org.infinispan.persistence.BaseStoreTest.setUp(BaseStoreTest.java:79)
> 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:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:523)
> 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)
> Caused by: java.lang.RuntimeException: librocksdbjni-osx.jnilib was not found inside JAR.
> at org.rocksdb.NativeLibraryLoader.loadLibraryFromJarToTemp(NativeLibraryLoader.java:110)
> at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
> at org.rocksdb.RocksDB.<clinit>(RocksDB.java:35)
> ... 31 more
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months
[JBoss JIRA] (ISPN-10388) Optimize REST authentication
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-10388:
--------------------------------------
Summary: Optimize REST authentication
Key: ISPN-10388
URL: https://issues.jboss.org/browse/ISPN-10388
Project: Infinispan
Issue Type: Enhancement
Components: Remote Protocols, REST, Server
Affects Versions: 10.0.0.Beta3
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
The REST server doesn't handle authentication very efficiently:
* it always checks for authentication even when it's disabled
* it obtains the authenticated Subject from the realm on every request
we should optimize it as follows:
* move authentication to a dedicated channel handler which is installed only when enabled
* keep the authenticated Subject in the authentication handler, as well as any headers required by the mech in use to quickly validate the request and skip interaction with the security realm for keep-alive connections
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months
[JBoss JIRA] (ISPN-9923) Provide a reactive key value store API
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9923?page=com.atlassian.jira.plugin.... ]
Katia Aresti updated ISPN-9923:
-------------------------------
Description:
Create a first * ReactiveKeyValueStore* api based in reactive streams standard. The example API below is not complete, is just an example
{code:java}
public interface ReactiveKeyValueStore<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> save(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Void> putMany(Publisher<Entry<K, V>> pairs);
Publisher<Entry<K, V>> entries();
...
}
{code}
was:
Create a first * ReactiveKeyValueStore* api based in reactive streams standard. The example API below is not complete, is just an example
{code:java}
public interface ReactiveKeyValueStore<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Entry<K, V>> pairs);
Publisher<Entry<K, V>> entries();
...
}
{code}
> Provide a reactive key value store API
> --------------------------------------
>
> Key: ISPN-9923
> URL: https://issues.jboss.org/browse/ISPN-9923
> Project: Infinispan
> Issue Type: Sub-task
> Components: API
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Create a first * ReactiveKeyValueStore* api based in reactive streams standard. The example API below is not complete, is just an example
> {code:java}
> public interface ReactiveKeyValueStore<K, V> {
> CompletionStage<V> get(K key);
> CompletionStage<Void> save(K key, V value);
> CompletionStage<Void> remove(K key);
> CompletionStage<Void> putMany(Publisher<Entry<K, V>> pairs);
> Publisher<Entry<K, V>> entries();
> ...
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months