[JBoss JIRA] (ISPN-9569) Indexing is not working for clustered caches if it is transactional
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/ISPN-9569?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-9569:
--------------------------------
Description: If a cache is using transactions (mode != NONE) and indexing is enabled the index is not created correctly for all nodes. (was: If a cache is using transactions (mode <> NONE) and indexing is enabled the index is not created correctly for all nodes.)
> Indexing is not working for clustered caches if it is transactional
> -------------------------------------------------------------------
>
> Key: ISPN-9569
> URL: https://issues.jboss.org/browse/ISPN-9569
> Project: Infinispan
> Issue Type: Bug
> Components: Indexing
> Affects Versions: 9.4.0.CR3, 9.3.3.Final
> Reporter: Wolf-Dieter Fink
> Priority: Blocker
>
> If a cache is using transactions (mode != NONE) and indexing is enabled the index is not created correctly for all nodes.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (ISPN-9568) Docs: Additional downstream attributes and clean up
by Don Naro (Jira)
Don Naro created ISPN-9568:
------------------------------
Summary: Docs: Additional downstream attributes and clean up
Key: ISPN-9568
URL: https://issues.jboss.org/browse/ISPN-9568
Project: Infinispan
Issue Type: Enhancement
Components: Documentation-Core
Affects Versions: 9.4.0.Final
Reporter: Don Naro
Assignee: Don Naro
Fix For: 9.4.0.Final
Need to include some attributes for productized docs and do some minor clean up to formatting.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (HRJS-80) Connection to not-configured cache fails without closing it
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/HRJS-80?page=com.atlassian.jira.plugin.sy... ]
Anna Manukyan updated HRJS-80:
------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/js-client/pull/35
> Connection to not-configured cache fails without closing it
> -----------------------------------------------------------
>
> Key: HRJS-80
> URL: https://issues.jboss.org/browse/HRJS-80
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> The test given below passes, but because of unclosed connection it hangs. For this scenario, it is not possible to close connection manually as because of the thrown exception the connection object is not returned.
> {code}
> it('fails when non-configured cache is accessed', function(done) {
> t.client(t.local, {cacheName: 'unknownCache'})
> .then(function() {
> done(new Error('Exception should be thrown while accessing not-configured cache.'));
> }, function(reason) {
> expect(reason.message).toBe("org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches");
> t.failed(done);
> }).finally(done);
> });
> {code}
> The log for this test is given below:
> {code}
> [2018-09-27T22:47:49.426] [DEBUG] io_75_conn_76 - Connecting to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75_conn_76 - Connected to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75 - New router installed: FixedRouter(conn=127.0.0.1:11222@conn_76)
> [2018-09-27T22:47:49.427] [DEBUG] client - Invoke ping(msgId=77)
> [2018-09-27T22:47:49.427] [TRACE] encoder - Encode operation with topology id 0
> [2018-09-27T22:47:49.427] [TRACE] io_75 - Write buffer(msgId=77) to 127.0.0.1:11222@conn_76: A04D1D170C756E6B6E6F776E4361636865000300010D00010D00
> [2018-09-27T22:47:49.428] [TRACE] decoder - Read header(msgId=77): opCode=80, status=132, hasNewTopology=0
> [2018-09-27T22:47:49.429] [ERROR] decoder - Error decoding body of request(msgId=77): org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - Complete failure for request(msgId=77) with org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - After decoding request(msgId=77), buffer size is 129, and offset 129
> {code}
> As you can see, the connect operation is passed. The error appears while performing the ping operation. Also in the log there is nowhere visible the "Disconnected from..." for this particular connection.
> I have compared the logs for this test and for the ones testing the wrong configured ssl certificates. In case of ssl ones the error appears directly during connecting to the server. In this case the transport is connected, so the ping fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (HRJS-80) Connection to not-configured cache fails without closing it
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/HRJS-80?page=com.atlassian.jira.plugin.sy... ]
Work on HRJS-80 started by Anna Manukyan.
-----------------------------------------
> Connection to not-configured cache fails without closing it
> -----------------------------------------------------------
>
> Key: HRJS-80
> URL: https://issues.jboss.org/browse/HRJS-80
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> The test given below passes, but because of unclosed connection it hangs. For this scenario, it is not possible to close connection manually as because of the thrown exception the connection object is not returned.
> {code}
> it('fails when non-configured cache is accessed', function(done) {
> t.client(t.local, {cacheName: 'unknownCache'})
> .then(function() {
> done(new Error('Exception should be thrown while accessing not-configured cache.'));
> }, function(reason) {
> expect(reason.message).toBe("org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches");
> t.failed(done);
> }).finally(done);
> });
> {code}
> The log for this test is given below:
> {code}
> [2018-09-27T22:47:49.426] [DEBUG] io_75_conn_76 - Connecting to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75_conn_76 - Connected to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75 - New router installed: FixedRouter(conn=127.0.0.1:11222@conn_76)
> [2018-09-27T22:47:49.427] [DEBUG] client - Invoke ping(msgId=77)
> [2018-09-27T22:47:49.427] [TRACE] encoder - Encode operation with topology id 0
> [2018-09-27T22:47:49.427] [TRACE] io_75 - Write buffer(msgId=77) to 127.0.0.1:11222@conn_76: A04D1D170C756E6B6E6F776E4361636865000300010D00010D00
> [2018-09-27T22:47:49.428] [TRACE] decoder - Read header(msgId=77): opCode=80, status=132, hasNewTopology=0
> [2018-09-27T22:47:49.429] [ERROR] decoder - Error decoding body of request(msgId=77): org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - Complete failure for request(msgId=77) with org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - After decoding request(msgId=77), buffer size is 129, and offset 129
> {code}
> As you can see, the connect operation is passed. The error appears while performing the ping operation. Also in the log there is nowhere visible the "Disconnected from..." for this particular connection.
> I have compared the logs for this test and for the ones testing the wrong configured ssl certificates. In case of ssl ones the error appears directly during connecting to the server. In this case the transport is connected, so the ping fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (HRJS-80) Connection to not-configured cache fails without closing it
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/HRJS-80?page=com.atlassian.jira.plugin.sy... ]
Anna Manukyan updated HRJS-80:
------------------------------
Status: Open (was: New)
> Connection to not-configured cache fails without closing it
> -----------------------------------------------------------
>
> Key: HRJS-80
> URL: https://issues.jboss.org/browse/HRJS-80
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> The test given below passes, but because of unclosed connection it hangs. For this scenario, it is not possible to close connection manually as because of the thrown exception the connection object is not returned.
> {code}
> it('fails when non-configured cache is accessed', function(done) {
> t.client(t.local, {cacheName: 'unknownCache'})
> .then(function() {
> done(new Error('Exception should be thrown while accessing not-configured cache.'));
> }, function(reason) {
> expect(reason.message).toBe("org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches");
> t.failed(done);
> }).finally(done);
> });
> {code}
> The log for this test is given below:
> {code}
> [2018-09-27T22:47:49.426] [DEBUG] io_75_conn_76 - Connecting to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75_conn_76 - Connected to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75 - New router installed: FixedRouter(conn=127.0.0.1:11222@conn_76)
> [2018-09-27T22:47:49.427] [DEBUG] client - Invoke ping(msgId=77)
> [2018-09-27T22:47:49.427] [TRACE] encoder - Encode operation with topology id 0
> [2018-09-27T22:47:49.427] [TRACE] io_75 - Write buffer(msgId=77) to 127.0.0.1:11222@conn_76: A04D1D170C756E6B6E6F776E4361636865000300010D00010D00
> [2018-09-27T22:47:49.428] [TRACE] decoder - Read header(msgId=77): opCode=80, status=132, hasNewTopology=0
> [2018-09-27T22:47:49.429] [ERROR] decoder - Error decoding body of request(msgId=77): org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - Complete failure for request(msgId=77) with org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - After decoding request(msgId=77), buffer size is 129, and offset 129
> {code}
> As you can see, the connect operation is passed. The error appears while performing the ping operation. Also in the log there is nowhere visible the "Disconnected from..." for this particular connection.
> I have compared the logs for this test and for the ones testing the wrong configured ssl certificates. In case of ssl ones the error appears directly during connecting to the server. In this case the transport is connected, so the ping fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (HRJS-80) Connection to not-configured cache fails without closing it
by Anna Manukyan (Jira)
[ https://issues.jboss.org/browse/HRJS-80?page=com.atlassian.jira.plugin.sy... ]
Anna Manukyan reassigned HRJS-80:
---------------------------------
Assignee: Anna Manukyan
> Connection to not-configured cache fails without closing it
> -----------------------------------------------------------
>
> Key: HRJS-80
> URL: https://issues.jboss.org/browse/HRJS-80
> Project: Infinispan Javascript client
> Issue Type: Bug
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Priority: Major
>
> The test given below passes, but because of unclosed connection it hangs. For this scenario, it is not possible to close connection manually as because of the thrown exception the connection object is not returned.
> {code}
> it('fails when non-configured cache is accessed', function(done) {
> t.client(t.local, {cacheName: 'unknownCache'})
> .then(function() {
> done(new Error('Exception should be thrown while accessing not-configured cache.'));
> }, function(reason) {
> expect(reason.message).toBe("org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches");
> t.failed(done);
> }).finally(done);
> });
> {code}
> The log for this test is given below:
> {code}
> [2018-09-27T22:47:49.426] [DEBUG] io_75_conn_76 - Connecting to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75_conn_76 - Connected to 127.0.0.1:11222
> [2018-09-27T22:47:49.427] [DEBUG] io_75 - New router installed: FixedRouter(conn=127.0.0.1:11222@conn_76)
> [2018-09-27T22:47:49.427] [DEBUG] client - Invoke ping(msgId=77)
> [2018-09-27T22:47:49.427] [TRACE] encoder - Encode operation with topology id 0
> [2018-09-27T22:47:49.427] [TRACE] io_75 - Write buffer(msgId=77) to 127.0.0.1:11222@conn_76: A04D1D170C756E6B6E6F776E4361636865000300010D00010D00
> [2018-09-27T22:47:49.428] [TRACE] decoder - Read header(msgId=77): opCode=80, status=132, hasNewTopology=0
> [2018-09-27T22:47:49.429] [ERROR] decoder - Error decoding body of request(msgId=77): org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - Complete failure for request(msgId=77) with org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'unknownCache' not found amongst the configured caches
> [2018-09-27T22:47:49.429] [TRACE] io_75_conn_76 - After decoding request(msgId=77), buffer size is 129, and offset 129
> {code}
> As you can see, the connect operation is passed. The error appears while performing the ping operation. Also in the log there is nowhere visible the "Disconnected from..." for this particular connection.
> I have compared the logs for this test and for the ones testing the wrong configured ssl certificates. In case of ssl ones the error appears directly during connecting to the server. In this case the transport is connected, so the ping fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 2 months
[JBoss JIRA] (ISPN-9567) Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
by Vittorio Rigamonti (JIRA)
Vittorio Rigamonti created ISPN-9567:
----------------------------------------
Summary: Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
Key: ISPN-9567
URL: https://issues.jboss.org/browse/ISPN-9567
Project: Infinispan
Issue Type: Bug
Components: Hot Rod
Affects Versions: 9.4.0.CR3
Reporter: Vittorio Rigamonti
Trying to put a script into ___script_cache with PLAIN authorization produces the exeception below.
A client reproducer is [here|https://github.com/rigazilla/workroom/tree/exec_auth/test-exec].
Create a user:user with role ___script_manager and run the server with ./docs/examples/configs/standalone-auth.xml
same test doesn't fail without authorization
{noformat}
11:48:46,288 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerHandler-4-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E097363726970..[12], hashCode=0}]: java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:234)
at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1817)
at org.infinispan.cache.impl.CacheImpl.putAsync(CacheImpl.java:1507)
at org.infinispan.cache.impl.DecoratedCache.putAsync(DecoratedCache.java:680)
at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:460)
at org.infinispan.security.impl.SecureCacheImpl.putAsync(SecureCacheImpl.java:977)
at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:196)
at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$6(CacheRequestProcessor.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 2 months