[JBoss JIRA] (ISPN-7297) java.lang.IllegalStateException on TriangleAckInterceptor.java
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-7297?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-7297:
------------------------------------
Description:
Happens intermittently during performance tests of https://github.com/infinispan/infinispan/pull/4576.
{noformat}
17:07:19,583 ERROR (jgroups-9,gfernandes-30338) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|entity.97|97]
java.lang.IllegalStateException
at org.infinispan.interceptors.TriangleAckInterceptor.handleWriteCommand(TriangleAckInterceptor.java:168)
at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:98)
at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:56)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:79)
at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:52)
at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:387)
at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:323)
{noformat}
was:
Happened during performance tests of https://github.com/infinispan/infinispan/pull/4576.
{noformat}
17:07:19,583 ERROR (jgroups-9,gfernandes-30338) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|entity.97|97]
java.lang.IllegalStateException
at org.infinispan.interceptors.TriangleAckInterceptor.handleWriteCommand(TriangleAckInterceptor.java:168)
at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:98)
at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:56)
at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:79)
at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49)
at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:52)
at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:387)
at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:323)
{noformat}
> java.lang.IllegalStateException on TriangleAckInterceptor.java
> --------------------------------------------------------------
>
> Key: ISPN-7297
> URL: https://issues.jboss.org/browse/ISPN-7297
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Beta1
> Reporter: Gustavo Fernandes
>
> Happens intermittently during performance tests of https://github.com/infinispan/infinispan/pull/4576.
> {noformat}
> 17:07:19,583 ERROR (jgroups-9,gfernandes-30338) [InvocationContextInterceptor] ISPN000136: Error executing command PutKeyValueCommand, writing keys [*|entity.97|97]
> java.lang.IllegalStateException
> at org.infinispan.interceptors.TriangleAckInterceptor.handleWriteCommand(TriangleAckInterceptor.java:168)
> at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:98)
> at org.infinispan.interceptors.TriangleAckInterceptor.visitPutKeyValueCommand(TriangleAckInterceptor.java:56)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:79)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitCommand(DDAsyncInterceptor.java:49)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:52)
> at org.infinispan.statetransfer.StateTransferInterceptor.handleNonTxWriteCommand(StateTransferInterceptor.java:387)
> at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:323)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7296) Add eviction for off-heap
by William Burns (JIRA)
William Burns created ISPN-7296:
-----------------------------------
Summary: Add eviction for off-heap
Key: ISPN-7296
URL: https://issues.jboss.org/browse/ISPN-7296
Project: Infinispan
Issue Type: Feature Request
Components: Eviction
Reporter: William Burns
Assignee: William Burns
Off-heap is now a configuration option. Unfortunately it is unbounded, we should implement something. A simple LRU for starters should be fine.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-6331) Netty buffer leak RESTAsyncIT
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6331?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes resolved ISPN-6331.
-------------------------------------
Resolution: Duplicate Issue
> Netty buffer leak RESTAsyncIT
> -----------------------------
>
> Key: ISPN-6331
> URL: https://issues.jboss.org/browse/ISPN-6331
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.2.0.CR1
> Reporter: Dan Berindei
>
> This is the leak report when running the server with {{-Dio.netty.leakDetectionLevel=advanced}}:
> {noformat}
> 12:59:12,985 SEVERE [io.netty.util.ResourceLeakDetector] (nioEventLoopGroup-2-2) LEAK: ByteBuf.release() was not called before it's garbage-collected.
> Recent access records: 4
> #4:
> io.netty.buffer.AdvancedLeakAwareByteBuf.getBytes(AdvancedLeakAwareByteBuf.java:223)
> io.netty.buffer.CompositeByteBuf.getBytes(CompositeByteBuf.java:687)
> io.netty.buffer.CompositeByteBuf.getBytes(CompositeByteBuf.java:40)
> io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:677)
> io.netty.buffer.CompositeByteBuf.readBytes(CompositeByteBuf.java:1495)
> io.netty.buffer.CompositeByteBuf.readBytes(CompositeByteBuf.java:40)
> io.netty.buffer.ByteBufInputStream.read(ByteBufInputStream.java:120)
> java.io.InputStream.read(InputStream.java:101)
> org.jboss.resteasy.util.ReadFromStream.readFromStream(ReadFromStream.java:30)
> org.jboss.resteasy.plugins.providers.ByteArrayProvider.readFrom(ByteArrayProvider.java:35)
> org.jboss.resteasy.plugins.providers.ByteArrayProvider.readFrom(ByteArrayProvider.java:23)
> org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:61)
> org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:60)
> org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
> org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
> org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:55)
> org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:151)
> org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:91)
> org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:114)
> org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
> org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
> org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
> org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
> org.jboss.resteasy.plugins.server.netty.RequestDispatcher.service(RequestDispatcher.java:83)
> org.jboss.resteasy.plugins.server.netty.RequestHandler.channelRead0(RequestHandler.java:53)
> io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
> io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299)
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> java.lang.Thread.run(Thread.java:745)
> #3:
> io.netty.buffer.AdvancedLeakAwareByteBuf.release(AdvancedLeakAwareByteBuf.java:45)
> io.netty.handler.codec.http.DefaultHttpContent.release(DefaultHttpContent.java:72)
> io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:59)
> io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:91)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:182)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> java.lang.Thread.run(Thread.java:745)
> #2:
> io.netty.buffer.AdvancedLeakAwareByteBuf.slice(AdvancedLeakAwareByteBuf.java:73)
> io.netty.buffer.CompositeByteBuf.addComponent0(CompositeByteBuf.java:173)
> io.netty.buffer.CompositeByteBuf.addComponent(CompositeByteBuf.java:112)
> io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:191)
> io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:54)
> io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:182)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> java.lang.Thread.run(Thread.java:745)
> #1:
> io.netty.buffer.AdvancedLeakAwareByteBuf.order(AdvancedLeakAwareByteBuf.java:63)
> io.netty.buffer.CompositeByteBuf.addComponent0(CompositeByteBuf.java:173)
> io.netty.buffer.CompositeByteBuf.addComponent(CompositeByteBuf.java:112)
> io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:191)
> io.netty.handler.codec.http.HttpObjectAggregator.decode(HttpObjectAggregator.java:54)
> io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:182)
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> java.lang.Thread.run(Thread.java:745)
> Created at:
> io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:55)
> io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155)
> io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146)
> io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:107)
> io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7295) Administration console - cache container configuration does not work for non-clustered container
by Roman Macor (JIRA)
Roman Macor created ISPN-7295:
---------------------------------
Summary: Administration console - cache container configuration does not work for non-clustered container
Key: ISPN-7295
URL: https://issues.jboss.org/browse/ISPN-7295
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 9.0.0.Beta1
Reporter: Roman Macor
Assignee: Vladimir Blagojevic
Start server in standalone mode with non-clustered configuration.
- bin/standalone.sh -> click on cache container -> click on configuration
Result: error pop up:
WFLYCTL0216: Management resource '[ ("subsystem" => "datagrid-infinispan"), ("cache-container" => "local"), ("transport" => "TRANSPORT") ]' not found
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7254) Administration console - accesing content without needed permissions should display error meesage
by Roman Macor (JIRA)
[ https://issues.jboss.org/browse/ISPN-7254?page=com.atlassian.jira.plugin.... ]
Roman Macor reopened ISPN-7254:
-------------------------------
There is an error popup message, when I click on cache configuration, but I think the error message should be displayed only when user tries to access the scripts or the schemas, the rest of the configuration should be accessible with admin role.
DGISPN0118: Failed to invoke operation: ISPN000287: Unauthorized access: subject 'Subject with principal(s): [user@ManagementRealm, admin@ManagementRealm, InetAddressPrincipal <127.0.0.1/127.0.0.1>]' lacks 'BULK_READ' permission
> Administration console - accesing content without needed permissions should display error meesage
> -------------------------------------------------------------------------------------------------
>
> Key: ISPN-7254
> URL: https://issues.jboss.org/browse/ISPN-7254
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Fix For: 9.0.0.Beta1
>
> Attachments: standalone-auth.xml
>
>
> Create user with admin role, but without ___script_manager and ___schema_manager roles
> Start the server with security enabled.
> e.g. standalone with attached configuration (but the issue is present in domain mode as well)
> bin/standalone.sh -c standalone-auth.xml
> click on cache container -> configuration
> result: the console is stuck with loading icon (it's still responding)
> Server log show:
> ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 9) WFLYCTL0013: Operation ("get-proto-schema-names") failed - address: ([
> "subsystem",
> "datagrid-infinispan",
> "cache-container",
> "local"
> ]) - failure description: "DGISPN0118: Failed to invoke operation: ISPN000287: Unauthorized access: subject 'Subject with principal(s): [org.jboss.as.core.security.SimplePrincipal@36ebcb, user@ManagementRealm, admin@ManagementRealm, InetAddressPrincipal <127.0.0.1/127.0.0.1>]' lacks 'BULK_READ' permission"
> Expected result: there should be an error message in the console informing the user that he doesn't have required permissions.
> *Another issue*: User have admin role, so he should be able to access configuration page, he shouldn't be able to access scripts and schemes configuration because he lacks ,___script_manager and ___schema_manager
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7294) Administration console - creating new cache from template should promt confirmation dialog
by Roman Macor (JIRA)
Roman Macor created ISPN-7294:
---------------------------------
Summary: Administration console - creating new cache from template should promt confirmation dialog
Key: ISPN-7294
URL: https://issues.jboss.org/browse/ISPN-7294
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 9.0.0.Beta1
Reporter: Roman Macor
Assignee: Vladimir Blagojevic
Click on cache container -> click add cache -> fill in cache name, template, check configure template checkbox -> click next -> click create new cache button
Result: cache is created, without confirmation dialog
Expected results: There used to be confirmation dialog saying:
"Create cacheName cache using cacheTemplate configuration template?"
If this was removed on purpose, please close this JIRA.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7293) Administration console - status of invalidation caches is not displayed correctly
by Roman Macor (JIRA)
Roman Macor created ISPN-7293:
---------------------------------
Summary: Administration console - status of invalidation caches is not displayed correctly
Key: ISPN-7293
URL: https://issues.jboss.org/browse/ISPN-7293
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 9.0.0.Beta1
Reporter: Roman Macor
Assignee: Vladimir Blagojevic
Create invalidation cache, the invalidation cache has warning status in cache container. Clicking on cache displays pop up:
- WFLYCTL0201: Unknown attribute 'cache-availability'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ISPN-7292) SQL Server Upsert Errors
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-7292:
----------------------------------
Summary: SQL Server Upsert Errors
Key: ISPN-7292
URL: https://issues.jboss.org/browse/ISPN-7292
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.0.0.Beta1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
When utilising upserts with SQL server an SQL exception is thrown due to a `ambiguous column name`.
The existing upstert statement also causes concurrency issues as SQL server does not handle MERGE statements atomically. Consequently it is necessary for a table lock to be acquired per merge statement in order to prevent deadlocks from occurring. See [here|https://www.mssqltips.com/sqlservertip/3074/use-caution-with-sql-ser...] for more details.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months