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

Persistent state transfer and purge on startup warning should not be produced for cache loaders only (not store)

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.1.3.CR1, 5.1.3.FINAL
    • 5.1.2.FINAL
    • None

      Warning messages such as this should not appear when the cache loader is read only, i.e. ClusterCacheLoader:
      2012-03-01 22:27:34,523 | ISPN000149: Fetch persistent state and purge on startup are both disabled, cache may contain stale entries on startup

      The original warning message came from ConfigurationValidatingVisitor where there was, a check to see if the cache loader was really a cache store (i.e. loaderConfig instanceof CacheStoreConfig). This is not present in LoaderConfigurationBuilder for the new configuration style.

      So, add it to LoaderConfigurationBuilder and mark ConfigurationValidatingVisitor as deprecated.

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: