RHDG 7 FileStorage preloading Order

Solution Unverified - Updated -

Issue

  • What is the FileStorage preload filling order when warming up the cache?
  • When using the preload in memory with a fixed number of records (e.g 6.000.000). How does datagrid select the 6.000.000 of records that are preloaded in memory amongst the limit ? Is it random or there is a given order?

Environment

  • Red Hat Data Grid (RHDG)
    • 7.x
  • Infinispan cache configured with both eviction and preload:
<!-- eviction -->
            <memory>
                <object size="6000000"/>
            </memory>
<!-- persistence with pre-load=true -->            
<persistence passivation="false">
                <file-store fetch-state="true" purge="false" read-only="false" preload="true" shared="false" path="/jboss/app/udm_core/data/CacheStore">

                </file-store>
            </persistence>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content