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

Size is returning a wrong number when the persistence file store has a memory config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.0.0.Dev04
    • Cross-Site Replication
    • None
    • Undefined

    Description

      Size is returning a wrong number when the persistence file store has a memory config

      cache-config

         <replicated-cache name="cache-example-0">
            <backups>
               <backup site="site02" strategy="SYNC"/>
            </backups>
            <memory storage="OFF_HEAP" max-count="10" when-full="REMOVE"/>
            <persistence passivation="true">
               <file-store max-entries="1000000" shared="false" preload="false" fetch-state="true" purge="true"/>
            </persistence>
         </replicated-cache>
      
         <replicated-cache name="cache-example-0">
            <backups>
               <backup site="site01" strategy="SYNC"/>
            </backups>
            <memory storage="OFF_HEAP" max-count="10" when-full="REMOVE"/>
            <persistence passivation="true">
               <file-store max-entries="1000000" shared="false" preload="false" fetch-state="true" purge="true"/>
            </persistence>
         </replicated-cache>
      

      Scenario:

      Load 10k entries in site01
      Wait 2 minutes
      Check the cache size in site01

      Error:

      12:25:08,653 ERROR [org.radargun.stages.JMXInvocationStage] (main) Total value 9378 is not the one expected 10000.
      

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            dlovison@redhat.com Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: