Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3504

LevelDB Cache store in server doesn't keep data between restarts

    XMLWordPrintable

Details

    Description

      I have config with passivation="false" purge="false"
      and expect data to survive restarts which doesn't happen.

      	<cache-container name="default" default-cache="default"
      		listener-executor="infinispan-listener">
      		<local-cache name="default" start="EAGER" batching="false">
      			<locking isolation="REPEATABLE_READ" acquire-timeout="20000"
      				concurrency-level="500" striping="false" />
      			<transaction mode="NONE" />
      			<leveldb-store path="temp-leveldb" block-size="1024"
      				cache-size="50000" clear-threshold="100000" passivation="false"
      				purge="false" >
      				<expiration path="temp-leveldb-expired" queue-size="2000" />
      				<compression type="SNAPPY" />
      				<implementation type="JAVA" />
      			</leveldb-store>
      		</local-cache>
      		<local-cache name="memcachedCache" start="EAGER" batching="false">
      			<locking isolation="REPEATABLE_READ" acquire-timeout="20000"
      				concurrency-level="500" striping="false" />
      			<transaction mode="NONE" />
      		</local-cache>
      	</cache-container>
      

      failing test:
      https://code.engineering.redhat.com/gerrit/gitweb?p=jdg-functional-tests.git;a=blob;f=remote/leveldb-cache-store/src/test/java/com/jboss/datagrid/test/cachestore/LevelDBCacheStoreTest.java;h=ee3b8c8fb254c7b571a020c850d9b40d6c8a56fc;
      hb=8e1b8a10fed5de5bf3bb9ec6fbc46857e1666798

      for JDG 6.2.0.DR4

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            mlinhard Michal Linhard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: