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

Configure mass indexing operations on cache start-up

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 14.0.0.Dev03
    • 14.0.0.Dev02
    • Indexing
    • None

    Description

      Allow the user to define some configuration to trigger mass indexing operations (e.g.: purge or reindex) when the cache starts.

      These actions are usually needed to keep data and indexes aligned (consistent).

      For instance if the data is persisted and indexes not or if the index persisted directory is always wiped out, the user might want to always trigger reindex on startup.

      Similarly, if the data is non persisted and the indexes are persisted, the user might want to always trigger a purge on startup.

      We can introduce an Enum such as startup-mode=NONE|REINDEX|PURGE.

      It would allow us to extend it to some automatic mode startup-mode=AUTO where we can check for instance if a cache-store is configured.

      Attachments

        Issue Links

          Activity

            People

              fercoli@redhat.com Fabio Massimo Ercoli
              fercoli@redhat.com Fabio Massimo Ercoli
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: