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

Index configuration settings should have good defaults to ensure a valid configuration by default

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Indexing
    • None

    Description

      Follow the "convention over configuration" paradigm the index startup mode should be default to "auto".

      This will ensure that the index is vaild and aligned to the cache.
      As well the index should default to "in memory" (local heap) if the cache is not persistent.

      As result

      • default cache without persistence and index, will use a local heap index without action at start
          - If the index is explicit set to persistent start action should be clear
      • persistent cache with index, will use persistent index without action at start
          - If the index is explicit set to non-persistent start action should be rebuild (maybe with WARN or INFO message because of performance)
      • ANY manual configuration should show WARN messages if not have a valid combination
          - i.e. persistent cache non persistent index with startup-mode=none||purge
          - non persistent cache with persistent index
          - non persistent cache with startup action rebuild -> unnecessary

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: