[
https://issues.jboss.org/browse/ISPN-10275?page=com.atlassian.jira.plugin...
]
Michael Palata updated ISPN-10275:
----------------------------------
Steps to Reproduce:
execute a touch operation agains an Infinispan Server memcache socket-binding.
*Expected Behaviour*
The object's expiration time should be reset (or similar actions (or nothing))
*Actual Behaviour*
2019-06-06 10:45:31,082 ERROR [org.infinispan.server.memcached.MemcachedDecoder]
(Memcached-ServerIO-3-2) ISPN005003: Exception reported:
org.infinispan.server.memcached.UnknownOperationException: Unknown operation: touch
at
org.infinispan.server.memcached.MemcachedDecoder.toRequest(MemcachedDecoder.java:1068)
at
org.infinispan.server.memcached.MemcachedDecoder.readHeader(MemcachedDecoder.java:322)
at
org.infinispan.server.memcached.MemcachedDecoder.decodeHeader(MemcachedDecoder.java:202)
at
org.infinispan.server.memcached.MemcachedDecoder.decodeDispatch(MemcachedDecoder.java:180)
at
org.infinispan.server.memcached.MemcachedDecoder.decode(MemcachedDecoder.java:133)
at
io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at
org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:646)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:581)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:460)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
was:
execute a touch operation agains an Infinispan Server memcache socket-binding.
*Expected Behaviour*
The object's expiration time should be reset
*Actual Behaviour*
2019-06-06 10:45:31,082 ERROR [org.infinispan.server.memcached.MemcachedDecoder]
(Memcached-ServerIO-3-2) ISPN005003: Exception reported:
org.infinispan.server.memcached.UnknownOperationException: Unknown operation: touch
at
org.infinispan.server.memcached.MemcachedDecoder.toRequest(MemcachedDecoder.java:1068)
at
org.infinispan.server.memcached.MemcachedDecoder.readHeader(MemcachedDecoder.java:322)
at
org.infinispan.server.memcached.MemcachedDecoder.decodeHeader(MemcachedDecoder.java:202)
at
org.infinispan.server.memcached.MemcachedDecoder.decodeDispatch(MemcachedDecoder.java:180)
at
org.infinispan.server.memcached.MemcachedDecoder.decode(MemcachedDecoder.java:133)
at
io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
at
org.infinispan.server.core.transport.StatsChannelHandler.channelRead(StatsChannelHandler.java:26)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:646)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:581)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:460)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Incomplete memcache protocol implementation - Unknown operation:
touch
----------------------------------------------------------------------
Key: ISPN-10275
URL:
https://issues.jboss.org/browse/ISPN-10275
Project: Infinispan
Issue Type: Bug
Components: Memcached
Affects Versions: 9.4.11.Final
Reporter: Michael Palata
Priority: Major
Using Infinispan Server as clustered memcached alternative we ran into the problem that
the memcache protocol implementation is missing the touch operation.
Protocol Definition:
https://github.com/memcached/memcached/blob/master/doc/protocol.txt
Missing Operation in Source Code:
https://github.com/infinispan/infinispan/blob/master/server/memcached/src...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)