[infinispan-issues] [JBoss JIRA] (ISPN-2142) APPLY_STATE in StateTransferControlCommand uses an InvocationContext having local=true

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Fri Sep 21 10:27:35 EDT 2012


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

Sanne Grinovero commented on ISPN-2142:
---------------------------------------

The indexing interceptor needs to listen to state transfer events to keep the index in sync with it's owned entries, in the case the index is not shared across all nodes.

Using SKIP_INDEXING it would not trigger indexing, but I actually need it to be indexed in this configuration case. Also it interprets the _local_ flag to decide what to do according to configuration options like {code}indexLocalOnly="true"{code}

IMHO these options should not be messed by, we rely on them to tell the truth, and not to be hijacked for other purposes.
                
> APPLY_STATE in StateTransferControlCommand uses an InvocationContext having local=true
> --------------------------------------------------------------------------------------
>
>                 Key: ISPN-2142
>                 URL: https://issues.jboss.org/browse/ISPN-2142
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Querying, State transfer
>    Affects Versions: 5.1.5.FINAL
>            Reporter: Sanne Grinovero
>            Assignee: Adrian Nistor
>            Priority: Critical
>             Fix For: 5.2.0.Beta1, 5.2.0.Final
>
>
> This causes nasty side effects on Query as it listens to write operations and needs to strictly discard those not originating locally.
> InvocationContext used with the APPLY_STATE command should have local=false.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list