[infinispan-issues] [JBoss JIRA] (ISPN-7025) Avoid waiting for pending delete tasks in the AffinityIndexManager

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Sep 15 08:43:00 EDT 2016


Gustavo Fernandes created ISPN-7025:
---------------------------------------

             Summary: Avoid waiting for pending delete tasks in the AffinityIndexManager
                 Key: ISPN-7025
                 URL: https://issues.jboss.org/browse/ISPN-7025
             Project: Infinispan
          Issue Type: Enhancement
            Reporter: Gustavo Fernandes


The Infinispan directory provider has an {{ExecutorService}} that is used to delete old generation lucene segment files after a flush. 

Since during topology changes ownership of indexes can change, and the index needs be flushed to release the locks, the current solution is to wait for the delete tasks to finish, in order to avoid removing the lock in the middle of a deletion.

This does not happens when indexes are configured as 'async' since the executor is disabled.





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


More information about the infinispan-issues mailing list