[infinispan-issues] [JBoss JIRA] (ISPN-3203) Infinispan cache index not loading initial data
Sanne Grinovero (JIRA)
issues at jboss.org
Fri Aug 1 07:40:30 EDT 2014
[ https://issues.jboss.org/browse/ISPN-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero resolved ISPN-3203.
-----------------------------------
Resolution: Rejected
Ralph, this is expected: you're supposed to enable some persistent storage for your indexes.
You have various options, such as using the file-system based index, or store in Infinispan itself (where it can get durability via replication, or a CacheStore, or a combination).
You can also opt to use volatile indexes as you do, in which case you might want to trigger a MassIndexer run to rebuild the indexes.
I'm sorry it took so long to explain, I hadn't noticed this.
> Infinispan cache index not loading initial data
> -----------------------------------------------
>
> Key: ISPN-3203
> URL: https://issues.jboss.org/browse/ISPN-3203
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Embedded Querying
> Environment: Linux: debian wheezy
> uname -a: Linux hostname 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
> JBoss: 7.1.2.Final
> Embedded cache using infinispan 5.2.6.Final jars included in WAR's WEB-INF/lib directory.
> Reporter: Ralph Jennings
> Assignee: Sanne Grinovero
> Labels: cache-store, index, infinispan, preload
>
> If you create a cache with an existing store to preload data from, the data is available to the cache (get and keySet works) but not to the index (no cache queries work).
> Only entries put into the cache after it starts up can be seen by the index.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list