[infinispan-issues] [JBoss JIRA] (ISPN-11299) Stale values can be indexed during State Transfer
Tristan Tarrant (Jira)
issues at jboss.org
Fri Apr 3 03:18:18 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-11299:
-----------------------------------
Sprint: DataGrid Sprint #42
> Stale values can be indexed during State Transfer
> -------------------------------------------------
>
> Key: ISPN-11299
> URL: https://issues.redhat.com/browse/ISPN-11299
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.1.1.Final, 11.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> If an operation is discarded during state transfer because it was already modified locally, the QueryInterceptor still propagates it to the index, leaving the index out of sync.
> Sequence of events:
> * T1: State Transfer starts
> * T2: The EWI (EntryWrappingInterceptor) starts tracking all non-state-transfer operations
> * T3: An entry is added locally
> * T4: EWI stores the key
> * T5: The same key arrives from State Transfer
> * T6: QueryInterceptor indexes it (The QI is installed after EWI but indexing happens before storing the entry in the data container)
> * T7: The entry operation is not committed in the data container since it was tracked before as DiscardPolicy{discardStateTransfer=true, discardXSiteStateTransfer=false}
> * T8: The index and the data container differ, since the index applied the state transfer operation when the data container didn't
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list