Red Hat Bugzilla – Bug 1282497
Creation of internal caches related to Indexing should use a good default or autoconfiguration
Last modified: 2017-06-13 13:53:49 EDT
Description of problem:
If a distributed cache enable indexing with the infinispan as provider, without any additional configuration, the necessary cahes are created with default settings.
This end up with local caches and the index is not shared, so a Query on different nodes will show different (wrong) results.
LuceneIndexesMetadata, LuceneIndexesLocking and LuceneIndexesData caches are created in local mode.
All three cahces should be created in a mode related to the cache and index.provider. Which can be local (local and REPL caches) or shared(REPL/DIST) if the cahce is distributed