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

Tristan Tarrant (JIRA) issues at jboss.org
Tue May 17 08:22:06 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-6220:
----------------------------------
    Fix Version/s: 9.0.0.Alpha3
                       (was: 9.0.0.Alpha2)


> 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: 9.0.0.Alpha3
>
>
> 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