]
Vittorio Rigamonti updated ISPN-5513:
-------------------------------------
Fix Version/s: 9.0.0.Alpha2
(was: 9.0.0.Alpha1)
State Transfer can miss entries that are concurrently activated
---------------------------------------------------------------
Key: ISPN-5513
URL:
https://issues.jboss.org/browse/ISPN-5513
Project: Infinispan
Issue Type: Bug
Components: State Transfer
Affects Versions: 8.0.0.Alpha1
Reporter: William Burns
Fix For: 9.0.0.Alpha2
Currently the OutboundTransferTask iterates upon the data container and then runs process
for the state loader. However if an entry is activated during or after the data container
iteration it is possible this entry is then not seen and subsequently is not present in
the store when it is processed.
EntryRetriever had this same issue and it was required to register a cache listener to
listen for activations and then replay the data after finishing with the store.
This can cause duplicate values as well, however replacing the same exact value is fine
and if a non ST write occurs the state is ignored anyways.