[infinispan-issues] [JBoss JIRA] (ISPN-7990) Provide a way to remove an entry from all indexes
Sanne Grinovero (JIRA)
issues at jboss.org
Wed Jun 28 07:01:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428094#comment-13428094 ]
Sanne Grinovero commented on ISPN-7990:
---------------------------------------
Remember that if you don't know the type this is problematic:
* you won't know which indexes need to be cleaned up
* even cleaning up "all indexes" by id is troublesome as you might not have a full list to define "all indexes"
* without the type you don't know how to encode the key -> not matching the right key might lead to various mismatches, like delete the wrong data or not deleting it at all
The only safe solution I see is to know upfront which types might be used in this Cache; even so, what if the index was created by an instance having a different / out of date configuration ?
> 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