[infinispan-issues] [JBoss JIRA] (ISPN-4596) Avoid index cleanup operations on putIfAbsent

Sanne Grinovero (JIRA) issues at jboss.org
Wed Aug 12 07:10:04 EDT 2015


    [ https://issues.jboss.org/browse/ISPN-4596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097572#comment-13097572 ] 

Sanne Grinovero commented on ISPN-4596:
---------------------------------------

I'm having second thoughts on this one; it seems ok in principle, but it assumes the index to be fully in synch all the time and it violates idempotency, which is a nice property all other current operations have (and we might want to take advantage of that in the indexing backends).

> Avoid index cleanup operations on putIfAbsent
> ---------------------------------------------
>
>                 Key: ISPN-4596
>                 URL: https://issues.jboss.org/browse/ISPN-4596
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Embedded Querying
>            Reporter: Sanne Grinovero
>            Assignee: Gustavo Fernandes
>             Fix For: 8.0.0.Final
>
>
> when doing a putIfAbsent() operation we can relax some of the internal cleanup operations, such as automatically enabling the Flag.SKIP_INDEX_CLEANUP



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list