[infinispan-issues] [JBoss JIRA] (ISPN-4708) Make DirectoryImplementor#deleteFile apply changes asynchronously
Adrian Nistor (JIRA)
issues at jboss.org
Tue Sep 16 07:07:29 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Nistor updated ISPN-4708:
--------------------------------
Fix Version/s: 7.0.0.CR1
(was: 7.0.0.Beta2)
> Make DirectoryImplementor#deleteFile apply changes asynchronously
> -----------------------------------------------------------------
>
> Key: ISPN-4708
> URL: https://issues.jboss.org/browse/ISPN-4708
> Project: Infinispan
> Issue Type: Enhancement
> Components: Lucene Directory
> Reporter: Sanne Grinovero
> Assignee: Gustavo Fernandes
> Fix For: 7.0.0.CR1
>
>
> Looks like the {{deleteFile}} operation is the main responsible component for the latency generated by writing to the Lucene Directory, but this operation could be processed asynchronously by a background thread.
> Configurtion API {{org.infinispan.lucene.directory.BuildContext}} could allow for an optional Executor to be passed for this purpose, and if there isn't we keep current behaviour for running it synchronously.
> The tricky part I guess is making sure that the tests, which verify written consistency -including delete operations - are refactored to be able to deal with the fact that delete operations will happen eventually.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list