2 Replies Latest reply on Aug 12, 2016 11:08 AM by Tristan Tarrant

    How do I persist a protobuf file in infinispan server

    xavier pradhap Newbie

      The requirement is to have the protobuf file persist even after I restart the server .

       

      The issue is when ever I restart my server , I am getting the following exception :

       

      [Server:server-two]     class: org.infinispan.query.remote.impl.indexing.ProtobufValueWrapper

      [Server:server-two]     path:

      [Server:server-two]     at org.hibernate.search.bridge.util.impl.ContextualExceptionBridgeHelper.buildBridgeException(Co

      ntextualExceptionBridgeHelper.java:84)

       

      The server is looking for the protobuf file to reindex the cache .

       

      My cache configuration looks something like this .

       

      <replicated-cache name="repl-cache" mode="ASYNC" start="EAGER">

          <indexing index="ALL">

              <property name="default.indexmanager">near-real-time</property>

              <property name="lucene_version">LUCENE_CURRENT</property>

              <property name="default.chunk_size">128000</property>

              <property name="default.indexBase">${jboss.server.name}/index</property>

          </indexing>

          <locking acquire-timeout="60000"/>

          <expiration lifespan="43200000"/>

          <state-transfer timeout="900000" await-initial-transfer="true" />

          <file-store shared="false" read-only="false" passivation="false" fetch-state="true" purge="false" singleton="false">

              <write-behind flush-lock-timeout="1" modification-queue-size="1024" shutdown-timeout="25000" thread-pool-size="1"/>

          </file-store>

      </replicated-cache>