[infinispan-issues] [JBoss JIRA] (ISPN-7990) Provide a way to remove an entry from all indexes

Gustavo Fernandes (JIRA) issues at jboss.org
Wed Jul 5 06:25:00 EDT 2017


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

Gustavo Fernandes commented on ISPN-7990:
-----------------------------------------

bq. Incidentally you remind me of the terrible hack that Infinispan Query does to encode keys

One thing at a time :)

bq. I was merely concerned about the reliability (especially over time and in exceptional cases) of QueryKnownClasses

I see. This class boils down to a REPL_SYNC cache (it uses Infinispan internal caches facility) but I can see it is *NOT* persistent, differently from the cache that stores protobuf. 
If we make it persistent, I think the reliability would be acceptable to work in "autodetection mode": we don't expect to remove from all indexes often, but very rarely.

> Provide a way to remove an entry from all indexes
> -------------------------------------------------
>
>                 Key: ISPN-7990
>                 URL: https://issues.jboss.org/browse/ISPN-7990
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Embedded Querying
>    Affects Versions: 9.1.0.Beta1
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> This may be needed in some non frequent scenarios (happening during topology changes) where a write command cannot obtain the previous value to remove it from the index.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list