[infinispan-issues] [JBoss JIRA] (ISPN-5368) Out of order events produced when using the MassIndexer with async backend

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Apr 9 13:43:18 EDT 2015


Gustavo Fernandes created ISPN-5368:
---------------------------------------

             Summary: Out of order events produced when using the MassIndexer with async backend
                 Key: ISPN-5368
                 URL: https://issues.jboss.org/browse/ISPN-5368
             Project: Infinispan
          Issue Type: Bug
            Reporter: Gustavo Fernandes
            Assignee: Gustavo Fernandes


When using async indexing backend on DIST caches with shared index (InfinispanIndexManager), the MassIndexer fails intermittently to re-index all the entries. 

Normally the operation sequence of the MassIndexer in the above configuration, for a two node cluster is:
* Purge the index
* Send index job to node A and to node B 
* Flush

Given the backend is async, all commands are sent RPC-wise asynchronously, and so a reorder can occur and produce like:

* Send index job to node A
* Purge
* Send index job to node B
* Flush

Causing previously re-indexed entries to be wiped




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list