[infinispan-issues] [JBoss JIRA] (ISPN-4611) Explore ability to use Put-Async in some operations on the Lucene Directory

Sanne Grinovero (JIRA) issues at jboss.org
Tue Sep 16 08:40:02 EDT 2014


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

Sanne Grinovero updated ISPN-4611:
----------------------------------
    Attachment: 0001-ISPN-4611-Update-write-operations-on-the-list-of-def.patch


This is the draft of the changes I'd like to explore. Needs to:
 - adjust existing tests to deal with it
 - make sure stress tests are fine (index isn't considered corrupted)
 - make sure that results will always contain last flushed changes (needs a new test)

> Explore ability to use Put-Async in some operations on the Lucene Directory
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-4611
>                 URL: https://issues.jboss.org/browse/ISPN-4611
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Lucene Directory
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>         Attachments: 0001-ISPN-4611-Update-write-operations-on-the-list-of-def.patch
>
>
> I just noticed that if I change all put operations in FileListOperations to be putAsync, the stress tests against index corruption and parallel queries run flawlessly.
> It's possible that these particular operation might not need the synchronous flush, but we need to verify if a committed index change is immediately visible to queries.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list