[infinispan-issues] [JBoss JIRA] (ISPN-6220) Speedup index rebuilds but using ADD rather than UPDATE statements when safe

Sanne Grinovero (JIRA) issues at jboss.org
Wed Feb 17 09:33:00 EST 2016


Sanne Grinovero created ISPN-6220:
-------------------------------------

             Summary: Speedup index rebuilds but using ADD rather than UPDATE statements when safe
                 Key: ISPN-6220
                 URL: https://issues.jboss.org/browse/ISPN-6220
             Project: Infinispan
          Issue Type: Enhancement
          Components: Embedded Querying
            Reporter: Sanne Grinovero
             Fix For: 8.2.0.CR1


The {{DistributedExecutorMassIndexer}} relies on update commands to index the new entries, but when we just run a full purge of the index it should be safe to use Add commands instead if we know that there aren't concurrent updates.

The lack of concurrent updates might be tricky but I think we can find such a condition when using Affinity as the index is being fully controlled by the current indexing engine, similarly to the checks to see if it's safe to use an NRT workspace.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list