[JBoss JIRA] (ISPN-10279) Support Persistent Memory
by Jonathan Halliday (Jira)
Jonathan Halliday created ISPN-10279:
----------------------------------------
Summary: Support Persistent Memory
Key: ISPN-10279
URL: https://issues.jboss.org/browse/ISPN-10279
Project: Infinispan
Issue Type: Feature Request
Reporter: Jonathan Halliday
Persistent Memory (pmem) is memory, in that it fits in the DIMM slots and is accessed by load/store instructions via the L2 cache. But it's also persistent, in that it retains content without power. See e.g pmem.io for background. DAX aware filesystems on pmem are MUCH faster than fs on SSD. This makes them a good target for e.g. Soft-Index persistence of cache data.
OpenJDK is being enhanced to support pmem, via http://openjdk.java.net/jeps/352
There is a library to provide a FileChannel-like abstraction over that pmem support, see https://github.com/jhalliday/turbinia
This JIRA is a placeholder for the integration work to tweak sifs so that it can use pmem on systems where the hardware is available. Since it already uses FileChannel, that's a small incremental change.
The necessary work is:
Push a turbinia release to central so it can be consumed. Note that whilst actually using pmem will need a recent JDK, using the library's integration API won't, so Infinispan can still build/run on older JDKs.
Change the sifs FileProvider so it tries to use pmem when possible. This is a minimal change set, requiring mainly the wiring to pass in maxFileSize config, which memory mapping will need but the current implementation doesn't use.
Fix the tests, which don't currently work even without pmem. See ISPN-10189
Update docs as needed.
Update the CI environment and test profiles so the pmem specific code gets exercised regularly.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10278) Spring XSD location should work with both http and https
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-10278:
--------------------------------------
Summary: Spring XSD location should work with both http and https
Key: ISPN-10278
URL: https://issues.jboss.org/browse/ISPN-10278
Project: Infinispan
Issue Type: Bug
Components: Spring Integration
Affects Versions: 10.0.0.Beta3, 9.4.14.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.0.0.Beta4, 9.4.15.Final
The spring.schemas file should include both http and https variants of the schema
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-8913) Provide sha1 checksums for Infinispan downloads
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-8913?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-8913:
---------------------------------------
I figured out why I had not enabled before: Spring is trying to resolve schemas online and cannot handle 301 redirects...
> Provide sha1 checksums for Infinispan downloads
> -----------------------------------------------
>
> Key: ISPN-8913
> URL: https://issues.jboss.org/browse/ISPN-8913
> Project: Infinispan
> Issue Type: Enhancement
> Components: Build
> Affects Versions: 9.2.0.Final
> Reporter: Ryan Emerson
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 9.3.0.Final
>
>
> Currently infinispan.org only provides users with download links for our various distribution zips, in the future we should provide these alongside their respective sha1 checksums. The website will need to be updated to include a means of displaying this information, as well as the web site release scripts to automatically populate said information.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10277) Spring XSD location should work with both http and https
by Tristan Tarrant (Jira)
Tristan Tarrant created ISPN-10277:
--------------------------------------
Summary: Spring XSD location should work with both http and https
Key: ISPN-10277
URL: https://issues.jboss.org/browse/ISPN-10277
Project: Infinispan
Issue Type: Bug
Components: Spring Integration
Affects Versions: 9.4.14.Final, 10.0.0.Beta3
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.0.0.Beta4, 9.4.15.Final
The spring.schemas file should include both http and https variants of the schema
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-8913) Provide sha1 checksums for Infinispan downloads
by Radoslav Husar (Jira)
[ https://issues.jboss.org/browse/ISPN-8913?page=com.atlassian.jira.plugin.... ]
Radoslav Husar commented on ISPN-8913:
--------------------------------------
[~NadirX] Looks great now!
> Provide sha1 checksums for Infinispan downloads
> -----------------------------------------------
>
> Key: ISPN-8913
> URL: https://issues.jboss.org/browse/ISPN-8913
> Project: Infinispan
> Issue Type: Enhancement
> Components: Build
> Affects Versions: 9.2.0.Final
> Reporter: Ryan Emerson
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 9.3.0.Final
>
>
> Currently infinispan.org only provides users with download links for our various distribution zips, in the future we should provide these alongside their respective sha1 checksums. The website will need to be updated to include a means of displaying this information, as well as the web site release scripts to automatically populate said information.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10275) Incomplete memcache protocol implementation - Unknown operation: touch
by Michael Palata (Jira)
[ 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)
*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 (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)
> 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)
6 years, 10 months