Good morning,
I am trying to use infinispan 9.1 caching but something may be wrong in file-store configuration because (with passivation enabled or not) the file is created, but contains only "FCS1" string...
here's my xml
<?xml version="1.0" encoding="UTF-8"?>
<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:9.1 http://www.infinispan.org/schemas/infinispan-config-9.1.xsd"
xmlns="urn:infinispan:config:9.1">
<cache-container default-cache="default">
<transport cluster="api-cache" />
<replicated-cache-configuration name="cache-default" mode="SYNC">
<expiration lifespan="3600000" max-idle="1800000" interval="60000" />
<memory>
<off-heap size="2" eviction="COUNT"/>
</memory>
<persistence passivation="true">
<file-store purge="true" path="/home/api-cache" />
</persistence>
</replicated-cache-configuration>
<replicated-cache name="default" configuration="cache-default" />
</cache-container>
</infinispan>
Any ideas ?
Thanks in advance.
How much data did you try storing? With passivation data is only moved to file store upon eviction. In theory that should happen after storing a 3rd entry. You might want to try latest Infinispan release too, 10.0.1.Final.